From: Florian Schweikert Date: Mon, 31 Oct 2011 14:44:00 +0000 (+0100) Subject: fixing with_statement import X-Git-Url: http://git.maemo.org/git/?a=commitdiff_plain;h=cebb3a02151ee08aef50b9a964ded912e53ef925;p=pywienerlinien fixing with_statement import --- diff --git a/gotovienna/cache.py b/gotovienna/cache.py index aa2efe6..0332a95 100644 --- 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):