diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-02-10 13:56:05 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-02-10 13:56:05 +0400 |
commit | 3b8a0f3d674a0da3bb17cbda30f0a2dc19a40e4f (patch) | |
tree | d7569e91a6160407d8d4cbce01aab4e0d6448ecd /release/scripts/startup/bl_ui/space_userpref.py | |
parent | b5962b7ccdf2ec9dabf92df5b32302aaa1cfda0a (diff) |
use import rather then assignment for loading '_' into scripts.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_userpref.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_userpref.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py index eb9446f0fd0..239597d54f9 100644 --- a/release/scripts/startup/bl_ui/space_userpref.py +++ b/release/scripts/startup/bl_ui/space_userpref.py @@ -20,7 +20,7 @@ import bpy from bpy.types import Header, Menu, Panel -_ = bpy.app.translations.pgettext +from bpy.app.translations import pgettext as _ def ui_style_items(col, context): |