remove with_statement(for 2.5) from __future__

This commit is contained in:
j 2016-08-23 18:12:46 +02:00
parent 164a71ed51
commit 5153c08698
9 changed files with 7 additions and 9 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -31,4 +31,3 @@ def update(key, value):
f = open(user_auth, "w")
f.write(json.dumps(auth, indent=2))
f.close()