relative import should work here: from . import settings
On Tue, Jul 3, 2012 at 5:05 PM, Bastien Montagne <[email protected]> wrote: > Revision: 48543 > > http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=48543 > Author: mont29 > Date: 2012-07-03 15:05:10 +0000 (Tue, 03 Jul 2012) > Log Message: > ----------- > Grmph! module renaming broke the tool! > > Modified Paths: > -------------- > trunk/blender/release/scripts/modules/bl_i18n_utils/bl_process_msg.py > > Modified: > trunk/blender/release/scripts/modules/bl_i18n_utils/bl_process_msg.py > =================================================================== > --- trunk/blender/release/scripts/modules/bl_i18n_utils/bl_process_msg.py > 2012-07-03 15:01:54 UTC (rev 48542) > +++ trunk/blender/release/scripts/modules/bl_i18n_utils/bl_process_msg.py > 2012-07-03 15:05:10 UTC (rev 48543) > @@ -27,7 +27,7 @@ > # Quite an ugly hack⦠But the simplest solution for now! > #import sys > #sys.path.append(os.path.abspath(os.path.dirname(__file__))) > -import i18n.settings as settings > +import bl_i18n_utils.settings as settings > > > #classes = set() > > _______________________________________________ > Bf-blender-cvs mailing list > [email protected] > http://lists.blender.org/mailman/listinfo/bf-blender-cvs -- - Campbell _______________________________________________ Bf-committers mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-committers
