diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-06-28 04:58:38 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-06-28 05:13:16 +0300 |
commit | 3569ea03d8e6a5b8f9245e67064196e61c66d460 (patch) | |
tree | 50d4cba70864baa1c5995ab48ad91f232309a8d2 /release | |
parent | 58062680511d3b180e03b6fbb71471c80573b9f3 (diff) |
Cleanup: Python imports
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/modules/bpy/utils/__init__.py | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/release/scripts/modules/bpy/utils/__init__.py b/release/scripts/modules/bpy/utils/__init__.py index 5e2769c12d3..66974dedc24 100644 --- a/release/scripts/modules/bpy/utils/__init__.py +++ b/release/scripts/modules/bpy/utils/__init__.py @@ -52,15 +52,15 @@ __all__ = ( ) from _bpy import ( + _utils_units as units, + blend_paths, escape_identifier, register_class, - unregister_class, - blend_paths, resource_path, + script_paths as _bpy_script_paths, + unregister_class, + user_resource as _user_resource, ) -from _bpy import script_paths as _bpy_script_paths -from _bpy import user_resource as _user_resource -from _bpy import _utils_units as units import bpy as _bpy import os as _os @@ -641,11 +641,10 @@ def unregister_module(module, verbose=False): # we start with the built-in default mapping def _blender_default_map(): - import sys import rna_manual_reference as ref_mod ret = (ref_mod.url_manual_prefix, ref_mod.url_manual_mapping) # avoid storing in memory - del sys.modules["rna_manual_reference"] + del _sys.modules["rna_manual_reference"] return ret # hooks for doc lookups |