Merge branch 'master' into python3
authorFredrik Tolf <fredrik@dolda2000.com>
Thu, 29 Dec 2011 00:43:51 +0000 (01:43 +0100)
committerFredrik Tolf <fredrik@dolda2000.com>
Thu, 29 Dec 2011 00:43:51 +0000 (01:43 +0100)
1  2 
wrw/util.py

diff --cc wrw/util.py
@@@ -39,9 -39,10 +39,10 @@@ class sessiondata(object)
  class autodirty(sessiondata):
      @classmethod
      def get(cls, req):
 -        ret = super(autodirty, cls).get(req)
 +        ret = super().get(req)
          if "_is_dirty" not in ret.__dict__:
              ret.__dict__["_is_dirty"] = False
+         return ret
  
      def sessfrozen(self):
          self.__dict__["_is_dirty"] = False