[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [48543] trunk/blender/release/scripts/ modules/bl_i18n_utils/bl_process_msg.py: Grmph! module renaming broke the tool!
Campbell Barton
ideasman42 at gmail.com
Tue Jul 3 19:11:26 CEST 2012
relative import should work here:
from . import settings
On Tue, Jul 3, 2012 at 5:05 PM, Bastien Montagne <montagne29 at wanadoo.fr> 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
> Bf-blender-cvs at blender.org
> http://lists.blender.org/mailman/listinfo/bf-blender-cvs
--
- Campbell
More information about the Bf-committers
mailing list