projects
/
pywienerlinien
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76f1339
)
fixing with_statement import
author
Florian Schweikert
<kelvan@logic.at>
Mon, 31 Oct 2011 14:44:00 +0000
(15:44 +0100)
committer
Florian Schweikert
<kelvan@logic.at>
Mon, 31 Oct 2011 14:44:00 +0000
(15:44 +0100)
gotovienna/cache.py
patch
|
blob
|
history
diff --git
a/gotovienna/cache.py
b/gotovienna/cache.py
index
aa2efe6
..
0332a95
100644
(file)
--- a/
gotovienna/cache.py
+++ b/
gotovienna/cache.py
@@
-1,3
+1,4
@@
+from __future__ import with_statement
from os import path
try:
import json
@@
-6,10
+7,6
@@
except ImportError:
import shutil
import defaults
import realtime
-try:
- from __future__ import with_statement
-except:
- pass
def load(p, typ):