From: Adam Sampson Date: Sat, 26 Jun 2010 10:12:55 +0000 (+0000) Subject: Call sync_from_config after loading a secondary config file. X-Git-Tag: v2.13~1 X-Git-Url: http://git.ozo.com/?a=commitdiff_plain;h=066251992e7f68889f3625035903b8059024af52;p=rawdog%2F.git Call sync_from_config after loading a secondary config file. --- diff --git a/NEWS b/NEWS index 42776f7..17eabf4 100644 --- a/NEWS +++ b/NEWS @@ -28,6 +28,10 @@ Work around broken DOCTYPEs that confuse sgmllib. If -v is specified, force verbose on again after reading a secondary config file (reported by Jonathan Phillips). +Resynchronise the feed list after loading a secondary config file; +previously feeds in secondary config files were ignored (reported by +Jonathan Philips). + - rawdog 2.12 Make rawdog work with Python 2.6 (reported by Roy Lanek). diff --git a/rawdoglib/rawdog.py b/rawdoglib/rawdog.py index 19e1dcd..19b61ca 100644 --- a/rawdoglib/rawdog.py +++ b/rawdoglib/rawdog.py @@ -1731,6 +1731,7 @@ def main(argv): rawdog.write(config) elif o in ("-c", "--config"): load_config(a) + rawdog.sync_from_config(config) elif o in ("-t", "--show-template"): rawdog.show_template(config) elif o in ("-T", "--show-itemtemplate"):