Call sync_from_config after loading a secondary config file.
authorAdam Sampson <ats@offog.org>
Sat, 26 Jun 2010 10:12:55 +0000 (10:12 +0000)
committerAdam Sampson <ats@offog.org>
Sat, 26 Jun 2010 10:12:55 +0000 (10:12 +0000)
NEWS
rawdoglib/rawdog.py

diff --git a/NEWS b/NEWS
index 42776f7a8f30dfb1f3ee12645c545572e150cf8f..17eabf4a268a9ccda442b8e8407e949ce89ba614 100644 (file)
--- 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).
index 19e1dcd97eabd0317f11e352aebaeb9b8a52a620..19b61ca8156d639d7da8a9e433b1758157d27908 100644 (file)
@@ -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"):