diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-12-06 01:03:07 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-12-06 01:03:07 +0300 |
commit | 5ebe54f470c364ff4ea86d15198225295092963e (patch) | |
tree | a0a1c69fe0bbd824276dc653499cba9265526dc9 /release/scripts/modules/rna_prop_ui.py | |
parent | 8821f7d7eab7bc8e928805523dd26c275e095241 (diff) |
pep8 edits and fix some warnings
Diffstat (limited to 'release/scripts/modules/rna_prop_ui.py')
-rw-r--r-- | release/scripts/modules/rna_prop_ui.py | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/release/scripts/modules/rna_prop_ui.py b/release/scripts/modules/rna_prop_ui.py index 1e1747220e1..51281c480b9 100644 --- a/release/scripts/modules/rna_prop_ui.py +++ b/release/scripts/modules/rna_prop_ui.py @@ -211,28 +211,6 @@ class WM_OT_properties_edit(bpy.types.Operator): self.properties.max = prop_ui.get("max", 1000000000) self.properties.description = prop_ui.get("description", "") - if 0: - _message = "PyConsole, press Ctrl+D to unlock the BGE" - import sys - - # evaluate commands in current namespace - frame = sys._getframe() - namespace = frame.f_globals.copy() - namespace.update(frame.f_locals) - - import code - - # Autocomp in python, not as comprehensive as IPython - import rlcompleter - - try: # ick, some pythons dont have this - import readline - readline.parse_and_bind("tab: complete") - except: - pass - - code.interact(banner=_message, local=namespace) - wm = context.manager wm.invoke_props_popup(self, event) return ('RUNNING_MODAL',) |