[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 3d842b7ede774cbc3f80d67ca6fe0142f22a862e
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
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:



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits