diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-02-27 18:25:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-02-27 18:25:24 +0300 |
commit | fc0c0169401909ca1118012bfbf9cf613964a632 (patch) | |
tree | 8e12c4270e8744673dabeeff24144a03c032df34 /release/scripts/ui | |
parent | 52f92b4cb18b24c44c42bfecc55c19e4ed2eb90d (diff) |
replace import *'s with named imports (using * is convenient for some scripts but considered bad practice by python devs)
Diffstat (limited to 'release/scripts/ui')
-rw-r--r-- | release/scripts/ui/properties_scene.py | 3 | ||||
-rw-r--r-- | release/scripts/ui/space_console.py | 2 | ||||
-rw-r--r-- | release/scripts/ui/space_userpref_keymap.py | 2 |
3 files changed, 2 insertions, 5 deletions
diff --git a/release/scripts/ui/properties_scene.py b/release/scripts/ui/properties_scene.py index 48eed73927b..e28753f2df8 100644 --- a/release/scripts/ui/properties_scene.py +++ b/release/scripts/ui/properties_scene.py @@ -195,9 +195,6 @@ class SCENE_PT_custom_props(SceneButtonsPanel, PropertyPanel, bpy.types.Panel): _context_path = "scene" _property_type = bpy.types.Scene - -from bpy.props import * - # XXX, move operator to op/ dir diff --git a/release/scripts/ui/space_console.py b/release/scripts/ui/space_console.py index 97720947e37..035b48e36d5 100644 --- a/release/scripts/ui/space_console.py +++ b/release/scripts/ui/space_console.py @@ -18,7 +18,7 @@ # <pep8 compliant> import bpy -from bpy.props import * +from bpy.props import StringProperty class CONSOLE_HT_header(bpy.types.Header): diff --git a/release/scripts/ui/space_userpref_keymap.py b/release/scripts/ui/space_userpref_keymap.py index 34d461fbef2..3c002047b06 100644 --- a/release/scripts/ui/space_userpref_keymap.py +++ b/release/scripts/ui/space_userpref_keymap.py @@ -404,7 +404,7 @@ class InputKeyMapPanel(bpy.types.Panel): self.draw_hierarchy(display_keymaps, col) -from bpy.props import * +from bpy.props import StringProperty, BoolProperty, IntProperty def export_properties(prefix, properties, lines=None): |