Dolda2000 GitWeb
/
wrw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d11a27e
)
Make sure to properly close form multiparts on __exit__.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Mon, 27 Aug 2012 05:49:25 +0000
(07:49 +0200)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Mon, 27 Aug 2012 05:49:25 +0000
(07:49 +0200)
wrw/form.py
patch
|
blob
|
blame
|
history
diff --git
a/wrw/form.py
b/wrw/form.py
index
1f0e530
..
9f1e6d4
100644
(file)
--- a/
wrw/form.py
+++ b/
wrw/form.py
@@
-111,6
+111,7
@@
class formpart(object):
return self
def __exit__(self, *excinfo):
+ self.close()
return False
def parsehead(self):