diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2018-10-11 13:45:26 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2018-10-11 13:45:26 -0400 |
commit | 8bed2448ede91fc5cb7d8ff1044a75650350810e (patch) | |
tree | 322051b16a75531aa8015c494b3f17c5caafee60 /cmd2/cmd2.py | |
parent | 1824a4e841d3480b0ae819c448b38f983297bdd9 (diff) | |
download | cmd2-git-8bed2448ede91fc5cb7d8ff1044a75650350810e.tar.gz |
Syle-based refactor
Diffstat (limited to 'cmd2/cmd2.py')
-rw-r--r-- | cmd2/cmd2.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py index c000fb80..02803b06 100644 --- a/cmd2/cmd2.py +++ b/cmd2/cmd2.py @@ -3563,8 +3563,8 @@ a..b, a:b, a:, ..b items by indices (inclusive) except AttributeError: # Debugging in Pycharm has issues with setting terminal title pass - - self.terminal_lock.release() + finally: + self.terminal_lock.release() else: raise RuntimeError("another thread holds terminal_lock") |