summaryrefslogtreecommitdiff
path: root/portato.py
diff options
context:
space:
mode:
authornecoro <>2007-08-27 07:30:38 +0000
committernecoro <>2007-08-27 07:30:38 +0000
commit8c066e79b03ad4e20a9f7c4ae36a9e247b79a8eb (patch)
treecbc6522de7532adc6a85ff6e816e186b077f2cc4 /portato.py
parentc16b547f2c2bc23bef3a93b1987715c00c521718 (diff)
downloadportato-8c066e79b03ad4e20a9f7c4ae36a9e247b79a8eb.tar.gz
portato-8c066e79b03ad4e20a9f7c4ae36a9e247b79a8eb.tar.bz2
portato-8c066e79b03ad4e20a9f7c4ae36a9e247b79a8eb.zip
Change to absolute_imports; Warning: definitly broken
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])