[tor-commits] [bridgedb/master] Separate lines for lists of updated and new config values.

isis at torproject.org isis at torproject.org
Sun Jan 12 06:06:32 UTC 2014


commit 3d842b7ede774cbc3f80d67ca6fe0142f22a862e
Author: Isis Lovecruft <isis at torproject.org>
Date:   Fri Nov 15 17:52:04 2013 +0000

    Separate lines for lists of updated and new config values.
---
 lib/bridgedb/persistent.py |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/bridgedb/persistent.py b/lib/bridgedb/persistent.py
index 79f1d70..6c9ebea 100644
--- a/lib/bridgedb/persistent.py
+++ b/lib/bridgedb/persistent.py
@@ -238,7 +238,8 @@ class State(jelly.Jellyable):
         any settings which were changed to be attributes of the :class:`State`
         instance.
         """
-        updated = new = []
+        updated = []
+        new = []
 
         for key, value in config.__dict__.items():
             try:





More information about the tor-commits mailing list