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

[tor-commits] [bridgedb/master] Fix improper assignment to statefile @property in b.persistent.State.



commit 92df000d063ab9ea9229d66d3956cd78b5ed1ca8
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date:   Tue Feb 24 20:57:24 2015 +0000

    Fix improper assignment to statefile @property in b.persistent.State.
---
 lib/bridgedb/persistent.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bridgedb/persistent.py b/lib/bridgedb/persistent.py
index f728bdd..1c0d3df 100644
--- a/lib/bridgedb/persistent.py
+++ b/lib/bridgedb/persistent.py
@@ -100,7 +100,7 @@ class State(jelly.Jellyable):
         self.key = None
 
         if 'STATEFILE' in kwargs:
-            self.statefile(kwargs['STATEFILE'])
+            self.statefile = kwargs['STATEFILE']
 
         for key, value in kwargs.items():
             self.__dict__[key] = value



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