diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-07-29 14:22:27 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-07-30 02:00:41 +0300 |
commit | ca983d1825fdef95688368da5fb4224bb4a12349 (patch) | |
tree | d0657f7cdf6f6b92c2ebca817e45c3e01a9f3f93 /release/scripts/modules/console_python.py | |
parent | 3d7cf808b8eeb98b20587298282c7b6d69271cba (diff) |
Cleanup: pep8
Diffstat (limited to 'release/scripts/modules/console_python.py')
-rw-r--r-- | release/scripts/modules/console_python.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/release/scripts/modules/console_python.py b/release/scripts/modules/console_python.py index 64bb002d6a1..a740f31c830 100644 --- a/release/scripts/modules/console_python.py +++ b/release/scripts/modules/console_python.py @@ -142,9 +142,9 @@ def execute(context, is_interactive): # redirect output from contextlib import ( - redirect_stdout, - redirect_stderr, - ) + redirect_stdout, + redirect_stderr, + ) # not included with Python class redirect_stdin(redirect_stdout.__base__): @@ -152,8 +152,8 @@ def execute(context, is_interactive): # don't allow the stdin to be used, can lock blender. with redirect_stdout(stdout), \ - redirect_stderr(stderr), \ - redirect_stdin(None): + redirect_stderr(stderr), \ + redirect_stdin(None): # in case exception happens line = "" # in case of encoding error @@ -258,10 +258,10 @@ def autocomplete(context): # This function isn't aware of the text editor or being an operator # just does the autocomplete then copy its results back result = intellisense.expand( - line=line, - cursor=current_line.current_character, - namespace=console.locals, - private=bpy.app.debug_python) + line=line, + cursor=current_line.current_character, + namespace=console.locals, + private=bpy.app.debug_python) line_new = result[0] current_line.body, current_line.current_character, scrollback = result |