Add a note about default values and the config file.
authorAdam Sampson <ats@offog.org>
Tue, 9 Jul 2013 19:00:14 +0000 (19:00 +0000)
committerAdam Sampson <ats@offog.org>
Tue, 9 Jul 2013 19:00:14 +0000 (19:00 +0000)
rawdoglib/rawdog.py

index 6125498f694dec5aa4f7e14af8279703bd88991d..0d55c980bb3fe9d92305dc3389d6e91d16b55150 100644 (file)
@@ -800,6 +800,11 @@ class Config:
                self.reset()
 
        def reset(self):
+               # Note that these default values are *not* the same as
+               # in the supplied config file. The idea is that someone
+               # who has an old config file shouldn't notice a difference
+               # in behaviour on upgrade -- so new options generally
+               # default to False here, and True in the sample file.
                self.config = {
                        "feedslist" : [],
                        "feeddefaults" : {},