Config: Fix import ordering
L10n change caused:
File "/home/carlos/Projects/fpdb/fpdboz/pyfpdb/Charset.py", line 25, in <module>
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?
This commit is contained in:
parent
8b68bb2137
commit
353a7d96eb
|
|
@ -23,11 +23,13 @@ Handles HUD configuration files.
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
|
|
||||||
import L10n
|
|
||||||
_ = L10n.get_translation()
|
|
||||||
|
|
||||||
# Standard Library modules
|
# Standard Library modules
|
||||||
from __future__ import with_statement
|
from __future__ import with_statement
|
||||||
|
|
||||||
|
import L10n
|
||||||
|
_ = L10n.get_translation()
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import inspect
|
import inspect
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user