summaryrefslogtreecommitdiff
path: root/cmd2/cmd2.py
diff options
context:
space:
mode:
authorkmvanbrunt <kmvanbrunt@gmail.com>2018-10-11 14:07:50 -0400
committerGitHub <noreply@github.com>2018-10-11 14:07:50 -0400
commit473cb08237b402658e857d786d5294defe721ec7 (patch)
tree322051b16a75531aa8015c494b3f17c5caafee60 /cmd2/cmd2.py
parentf38e100fd77f4a136a4883d23b2f4f8b3cd934b7 (diff)
parent8bed2448ede91fc5cb7d8ff1044a75650350810e (diff)
downloadcmd2-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.py4
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")