projects
/
pywienerlinien
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba953b9
)
import with_statement for older python versions
author
Florian Schweikert
<kelvan@logic.at>
Mon, 31 Oct 2011 14:42:35 +0000
(15:42 +0100)
committer
Florian Schweikert
<kelvan@logic.at>
Mon, 31 Oct 2011 14:42:35 +0000
(15:42 +0100)
gotovienna/cache.py
patch
|
blob
|
history
diff --git
a/gotovienna/cache.py
b/gotovienna/cache.py
index
a0c2000
..
aa2efe6
100644
(file)
--- a/
gotovienna/cache.py
+++ b/
gotovienna/cache.py
@@
-6,6
+6,10
@@
except ImportError:
import shutil
import defaults
import realtime
+try:
+ from __future__ import with_statement
+except:
+ pass
def load(p, typ):