from __future__ imports must occurr at the beginning of the file

This commit is contained in:
Skyler Lehmkuhl 2013-01-08 16:19:12 -05:00
parent 9fb2223e74
commit 1feb5a9ce9
1 changed files with 2 additions and 3 deletions

View File

@ -3,11 +3,10 @@
# © 2012 Skyler Lehmkuhl
# Released under the GPLv3. For more information, see gpl.txt.
from __future__ import with_statement
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
os.putenv("UBUNTU_MENUPROXY", "0")