- fixed bad RestartError construction

Mon, 10 Nov 2014 17:42:04 +0200

author
Teemu Piippo <crimsondusk64@gmail.com>
date
Mon, 10 Nov 2014 17:42:04 +0200
changeset 81
ce5d27463356
parent 80
0f6bfd359a7f
child 82
c6e853703ca8

- fixed bad RestartError construction

irc.py file | annotate | diff | comparison | revisions
--- a/irc.py	Mon Nov 10 17:40:26 2014 +0200
+++ b/irc.py	Mon Nov 10 17:42:04 2014 +0200
@@ -214,7 +214,7 @@
 		raise RestartError (traceback.format_exception(sys.exc_type, sys.exc_value, sys.exc_traceback))
 	
 	def restart(self):
-		raise RestartError()
+		raise RestartError('')
 
 	def privmsg (self, channel, msg):
 		self.write ("PRIVMSG %s :%s" % (channel, msg))

mercurial