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

isis at torproject.org isis at torproject.org
Sat Mar 21 02:03:03 UTC 2015


commit 92df000d063ab9ea9229d66d3956cd78b5ed1ca8
Author: Isis Lovecruft <isis at torproject.org>
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





More information about the tor-commits mailing list