Fixed code to pass unittests. Change script's is_valid method to correctly catch if it is checked on an object which is already deleted, as per #509.

This commit is contained in:
Griatch 2014-06-15 13:19:38 +02:00
parent 3a6a8d5c48
commit 53b204bb76
8 changed files with 21 additions and 17 deletions

View file

@ -263,4 +263,4 @@ class CmdSetHelp(MuxCommand):
if new_entry:
self.msg("Topic '%s' was successfully created." % topicstr)
else:
self.msg("Error when creating topic '%s'! Maybe it already exists?" % topicstr)
self.msg("Error when creating topic '%s'! Contact an admin." % topicstr)