Mercurial > pyarq-presupuestos
diff pyArq-Presupuestos @ 6:2fc6b47dbe70
rename module globals to globalVars
author | Miguel Ángel Bárcena Rodríguez <miguelangel@obraencurso.es> |
---|---|
date | Sat, 06 Nov 2010 22:33:32 +0100 |
parents | a221c14c3c31 |
children |
line wrap: on
line diff
--- a/pyArq-Presupuestos Sat Nov 06 21:30:33 2010 +0100 +++ b/pyArq-Presupuestos Sat Nov 06 22:33:32 2010 +0100 @@ -25,7 +25,7 @@ Translates the program using gettext module """ _app = "pyArq-Presupuestos" - _dir = globals.path["APPDATA"] + "/mo/" + _dir = globalVars.path["APPDATA"] + "/mo/" gettext.install(_app, _dir, unicode=1) def _run_gui(): @@ -40,10 +40,10 @@ # Modules import gettext import sys - from Generic import globals + from Generic import globalVars # take path to find mo file _path = sys.path[0] - globals.path["APPDATA"]= _path + globalVars.path["APPDATA"]= _path _translate() from Gtk import gui _run_gui()