diff --git a/ox/api.py b/ox/api.py index 03d877c..b359435 100644 --- a/ox/api.py +++ b/ox/api.py @@ -1,7 +1,6 @@ # -*- coding: utf-8 -*- # vi:si:et:sw=4:sts=4:ts=4 # GPL 2011 -from __future__ import with_statement from six.moves import http_cookiejar as cookielib import gzip diff --git a/ox/cache.py b/ox/cache.py index 5d2aa61..6b2f8d3 100644 --- a/ox/cache.py +++ b/ox/cache.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # vi:si:et:sw=4:sts=4:ts=4 # GPL 2011 -from __future__ import with_statement, print_function +from __future__ import print_function import gzip import hashlib diff --git a/ox/file.py b/ox/file.py index 5d6368a..bbfb432 100644 --- a/ox/file.py +++ b/ox/file.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # vi:si:et:sw=4:sts=4:ts=4 # GPL 2008 -from __future__ import division, with_statement, print_function +from __future__ import division, print_function import os import hashlib import re diff --git a/ox/form.py b/ox/form.py index 48e7e92..5358afb 100644 --- a/ox/form.py +++ b/ox/form.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # vi:si:et:sw=4:sts=4:ts=4 # GPL 2014 -from __future__ import with_statement, print_function +from __future__ import print_function import itertools import mimetypes diff --git a/ox/geo.py b/ox/geo.py index 56733f6..85c1b72 100644 --- a/ox/geo.py +++ b/ox/geo.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # vi:si:et:sw=4:sts=4:ts=4 # GPL 2008 -from __future__ import with_statement, print_function +from __future__ import print_function import math diff --git a/ox/jsonc.py b/ox/jsonc.py index eadcc96..41dd306 100644 --- a/ox/jsonc.py +++ b/ox/jsonc.py @@ -1,7 +1,7 @@ #!/usr/bin/python # -*- coding: utf-8 -*- # vi:si:et:sw=4:sts=4:ts=4 -from __future__ import with_statement, print_function +from __future__ import print_function import re diff --git a/ox/net.py b/ox/net.py index 6afde25..485fd3f 100644 --- a/ox/net.py +++ b/ox/net.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # vi:si:et:sw=4:sts=4:ts=4 # GPL 2008 -from __future__ import with_statement, print_function +from __future__ import print_function import gzip import json import os diff --git a/ox/srt.py b/ox/srt.py index 1eb912f..21905bc 100644 --- a/ox/srt.py +++ b/ox/srt.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # vi:si:et:sw=4:sts=4:ts=4 -from __future__ import with_statement, division, print_function +from __future__ import division, print_function import codecs import re diff --git a/ox/web/auth.py b/ox/web/auth.py index f852d1f..d3a8b9a 100644 --- a/ox/web/auth.py +++ b/ox/web/auth.py @@ -31,4 +31,3 @@ def update(key, value): f = open(user_auth, "w") f.write(json.dumps(auth, indent=2)) f.close() -