summaryrefslogtreecommitdiff
path: root/portato.py
diff options
context:
space:
mode:
Diffstat (limited to 'portato.py')
-rwxr-xr-xportato.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/portato.py b/portato.py
index 1c73f74..da1ed88 100755
--- a/portato.py
+++ b/portato.py
@@ -12,11 +12,14 @@
#
# Written by René 'Necoro' Neumann <necoro@necoro.net>
-from portato import listener
-from portato.constants import VERSION, FRONTENDS, STD_FRONTEND, XSD_LOCATION, LOCALE_DIR, APP, SU_COMMAND
-from optparse import OptionParser
+from __future__ import with_statement, absolute_import
+
import sys, os
import gettext, locale
+from optparse import OptionParser
+
+from portato import listener
+from portato.constants import VERSION, FRONTENDS, STD_FRONTEND, XSD_LOCATION, LOCALE_DIR, APP, SU_COMMAND
def get_frontend_list ():
return ", ".join(["'%s'" % x for x in FRONTENDS])