Dolda2000 GitWeb
/
wrw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
6cf09c7
617b21d
)
Merge branch 'master' into python3
author
Fredrik Tolf
<fredrik@dolda2000.com>
Thu, 29 Dec 2011 00:43:51 +0000
(
01:43
+0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Thu, 29 Dec 2011 00:43:51 +0000
(
01:43
+0100)
1
2
wrw/util.py
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
wrw/util.py
index
db74e62
,
86a7eab
..
1c2ed6f
---
1
/
wrw/util.py
---
2
/
wrw/util.py
+++ b/
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