diff options
author | James McCoy <jamessan@debian.org> | 2018-08-01 20:44:36 -0400 |
---|---|---|
committer | James McCoy <jamessan@debian.org> | 2018-10-02 21:50:35 -0400 |
commit | 59839c3ed2ee8b2680f3d459151a9fd0d31b6c3b (patch) | |
tree | 9fe3059c05b1e98e4787fd755debd653cf129621 | |
parent | 851de7c2ea2b4a39a347328ae3e9c67829ad0d63 (diff) |
svnshell
Bug #234462: The error messages that svnshell spits out for unknown
Bug #234462: The error messages that svnshell spits out for unknown
commands are confusing. They should be replaced by a "Unknown command."
error message. Upstream says we have no sense of humor. (:
Patch from Roland Illig <roland.illig@gmx.de>.
Gbp-Pq: Name svnshell
-rwxr-xr-x | tools/examples/svnshell.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/tools/examples/svnshell.py b/tools/examples/svnshell.py index 9c67af4..b05e7ef 100755 --- a/tools/examples/svnshell.py +++ b/tools/examples/svnshell.py @@ -56,14 +56,8 @@ 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(self._errors[randint(0, len(self._errors) - 1)]) + print "Unknown command." def do_cat(self, arg): """dump the contents of a file""" |