summaryrefslogtreecommitdiff
path: root/tools/examples/svnshell.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/examples/svnshell.py')
-rwxr-xr-xtools/examples/svnshell.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/examples/svnshell.py b/tools/examples/svnshell.py
index b05e7ef..9c67af4 100755
--- a/tools/examples/svnshell.py
+++ b/tools/examples/svnshell.py
@@ -56,8 +56,14 @@ class SVNShell(Cmd):
def postcmd(self, stop, line):
self._setup_prompt()
+ _errors = ["Huh?",
+ "Whatchoo talkin' 'bout, Willis?",
+ "Say what?",
+ "Nope. Not gonna do it.",
+ "Ehh...I don't think so, chief."]
+
def default(self, line):
- print "Unknown command."
+ print(self._errors[randint(0, len(self._errors) - 1)])
def do_cat(self, arg):
"""dump the contents of a file"""