Fixed autodirty bug.
authorFredrik Tolf <fredrik@dolda2000.com>
Thu, 29 Dec 2011 00:43:42 +0000 (01:43 +0100)
committerFredrik Tolf <fredrik@dolda2000.com>
Thu, 29 Dec 2011 00:43:42 +0000 (01:43 +0100)
wrw/util.py

index 17fc7fb..86a7eab 100644 (file)
@@ -42,6 +42,7 @@ class autodirty(sessiondata):
         ret = super(autodirty, cls).get(req)
         if "_is_dirty" not in ret.__dict__:
             ret.__dict__["_is_dirty"] = False
+        return ret
 
     def sessfrozen(self):
         self.__dict__["_is_dirty"] = False