summaryrefslogtreecommitdiff
path: root/examples/pirate.py
diff options
context:
space:
mode:
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