from __future__ imports must occurr at the beginning of the file
This commit is contained in:
parent
9fb2223e74
commit
1feb5a9ce9
|
|
@ -3,11 +3,10 @@
|
||||||
# © 2012 Skyler Lehmkuhl
|
# © 2012 Skyler Lehmkuhl
|
||||||
# Released under the GPLv3. For more information, see gpl.txt.
|
# Released under the GPLv3. For more information, see gpl.txt.
|
||||||
|
|
||||||
|
from __future__ import with_statement
|
||||||
|
|
||||||
import os, shutil, tarfile, tempfile, StringIO, urllib, subprocess, sys
|
import os, shutil, tarfile, tempfile, StringIO, urllib, subprocess, sys
|
||||||
|
|
||||||
if sys.version_info < (2, 6):
|
|
||||||
# Python 2.5
|
|
||||||
from __future__ import with_statement
|
|
||||||
|
|
||||||
# Workaround for broken menubar under Ubuntu
|
# Workaround for broken menubar under Ubuntu
|
||||||
os.putenv("UBUNTU_MENUPROXY", "0")
|
os.putenv("UBUNTU_MENUPROXY", "0")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue