1
2
3
4
5
6
7
8
9
10
11 | === modified file 'storm/variables.py'
--- storm/variables.py 2011-09-13 12:38:39 +0000
+++ storm/variables.py 2015-12-17 00:01:13 +0000
@@ -574,6 +574,7 @@ class MutableValueVariable(Variable):
def get(self, default=None, to_db=False):
if self._event_system is not None:
+ self._event_system.unhook("flush", self._detect_changes)
self._event_system.hook("flush", self._detect_changes)
return super(MutableValueVariable, self).get(default, to_db)
|