Author: johannes Date: 2007-11-21 08:00:58 -0600 (Wed, 21 Nov 2007) New Revision: 9823
Modified: trunk/gnue-common/src/apps/__init__.py Log: Code cleanup Modified: trunk/gnue-common/src/apps/__init__.py =================================================================== --- trunk/gnue-common/src/apps/__init__.py 2007-11-21 10:43:02 UTC (rev 9822) +++ trunk/gnue-common/src/apps/__init__.py 2007-11-21 14:00:58 UTC (rev 9823) @@ -28,20 +28,24 @@ # These modules introduce new functions into the builtins dictionary, so we # always import them import GDebug -import i18n -import errors -import checktype +import __builtin__ +from gnue.common.base import i18n +from gnue.common.base import errors +from gnue.common.base import checktype + +# ----------------------------------------------------------------------------- # Add gStartupStatus global for startup status dialogs -def _printStartupStatus(text): - print ' * %s' % text +# ----------------------------------------------------------------------------- -import __builtin__ -__builtin__.__dict__['gStartupStatus'] = _printStartupStatus +def _print_startup_status(text): + print ' * %s' % text +__builtin__.__dict__['gStartupStatus'] = _print_startup_status + # Add the decimal class for python 2.3 or less #if sys.hexversion < 0x02040000: # pth = sys.path _______________________________________________ commit-gnue mailing list commit-gnue@gnu.org http://lists.gnu.org/mailman/listinfo/commit-gnue