summaryrefslogtreecommitdiff
path: root/examples/pirate.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2018-03-16 22:43:44 -0400
committerGitHub <noreply@github.com>2018-03-16 22:43:44 -0400
commit286ae5c958e0132ccc82f170aa08521bb6439f64 (patch)
treeb516a76aa6f89c3d93a83999c6952bee2cf89486 /examples/pirate.py
parentf0429e3f96a11572abcd07248730da8219b40c5c (diff)
parent24fdbbce8a7bb0df3b12fc91cb53a591777f9fb0 (diff)
downloadcmd2-git-286ae5c958e0132ccc82f170aa08521bb6439f64.tar.gz
Merge pull request #318 from python-cmd2/default_on_shell_unit_tests
Default on shell unit tests
Diffstat (limited to 'examples/pirate.py')
-rwxr-xr-xexamples/pirate.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/examples/pirate.py b/examples/pirate.py
index cfe545d6..f3a8fc7a 100755
--- a/examples/pirate.py
+++ b/examples/pirate.py
@@ -29,10 +29,6 @@ class Pirate(Cmd):
self.initial_gold = self.gold
self.prompt = 'arrr> '
- def default(self, line):
- """This handles unknown commands."""
- self.poutput('What mean ye by "{0}"?'.format(line))
-
def precmd(self, line):
"""Runs just before a command line is parsed, but after the prompt is presented."""
self.initial_gold = self.gold