diff options
author | kmvanbrunt <kmvanbrunt@gmail.com> | 2018-10-11 14:07:50 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-11 14:07:50 -0400 |
commit | 473cb08237b402658e857d786d5294defe721ec7 (patch) | |
tree | 322051b16a75531aa8015c494b3f17c5caafee60 /cmd2/cmd2.py | |
parent | f38e100fd77f4a136a4883d23b2f4f8b3cd934b7 (diff) | |
parent | 8bed2448ede91fc5cb7d8ff1044a75650350810e (diff) | |
download | cmd2-git-473cb08237b402658e857d786d5294defe721ec7.tar.gz |
Merge pull request #573 from python-cmd2/double_dash
Double dash
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") |