From 353a7d96eb886a5c07c1167ac0ec30a54ddb6711 Mon Sep 17 00:00:00 2001 From: Worros Date: Thu, 23 Sep 2010 11:27:06 +0800 Subject: [PATCH] Config: Fix import ordering L10n change caused: File "/home/carlos/Projects/fpdb/fpdboz/pyfpdb/Charset.py", line 25, in import Configuration File "/home/carlos/Projects/fpdb/fpdboz/pyfpdb/Configuration.py", line 30 from __future__ import with_statement SyntaxError: from __future__ imports must occur at the beginning of the file Who knew? --- pyfpdb/Configuration.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pyfpdb/Configuration.py b/pyfpdb/Configuration.py index 20f99893..fdb7edb3 100644 --- a/pyfpdb/Configuration.py +++ b/pyfpdb/Configuration.py @@ -23,11 +23,13 @@ Handles HUD configuration files. ######################################################################## -import L10n -_ = L10n.get_translation() # Standard Library modules from __future__ import with_statement + +import L10n +_ = L10n.get_translation() + import os import sys import inspect