summaryrefslogtreecommitdiff
path: root/examples/pirate.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2018-12-06 13:40:58 -0500
committerKevin Van Brunt <kmvanbrunt@gmail.com>2018-12-06 13:40:58 -0500
commit5b9281f6dfb55d436e6a19ae41af5a8590fbaed7 (patch)
tree6b4d269801df6fb2634af3003fe28a29b010008f /examples/pirate.py
parent23970dfdca765992157b8089f3a34f7fd4fa4f10 (diff)
parentea182bbea386288b1acfbc35c99243a457ff1036 (diff)
downloadcmd2-git-5b9281f6dfb55d436e6a19ae41af5a8590fbaed7.tar.gz
Merge branch 'master' into history
Diffstat (limited to 'examples/pirate.py')
-rwxr-xr-xexamples/pirate.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/pirate.py b/examples/pirate.py
index 096133dc..2da3fcaa 100755
--- a/examples/pirate.py
+++ b/examples/pirate.py
@@ -51,8 +51,7 @@ class Pirate(cmd2.Cmd):
def postcmd(self, stop, line):
"""Runs right before a command is about to return."""
if self.gold != self.initial_gold:
- self.poutput('Now we gots {0} doubloons'
- .format(self.gold))
+ self.poutput('Now we gots {0} doubloons'.format(self.gold))
if self.gold < 0:
self.poutput("Off to debtorrr's prison.")
stop = True