From 1feb5a9ce9b76f21de25efe66d58062d2a144814 Mon Sep 17 00:00:00 2001 From: Skyler Lehmkuhl Date: Tue, 8 Jan 2013 16:19:12 -0500 Subject: [PATCH] from __future__ imports must occurr at the beginning of the file --- lightningbeam.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lightningbeam.py b/lightningbeam.py index 7126d50..574ffc7 100755 --- a/lightningbeam.py +++ b/lightningbeam.py @@ -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")