- prettier formatting for .ticket error

Mon, 10 Nov 2014 02:50:06 +0200

author
Teemu Piippo <crimsondusk64@gmail.com>
date
Mon, 10 Nov 2014 02:50:06 +0200
changeset 78
afc0fc2a57e4
parent 77
8f45af91a4f3
child 79
6d17630d1468

- prettier formatting for .ticket error

bt.py file | annotate | diff | comparison | revisions
--- a/bt.py	Mon Nov 10 02:42:57 2014 +0200
+++ b/bt.py	Mon Nov 10 02:50:06 2014 +0200
@@ -21,7 +21,7 @@
 	try:
 		data = get_issue (ticket)
 	except Exception, e:
-		bot.privmsg (replyto, "Failed to get info for issue %s: %s" % (ticket, `e`))
+		bot.privmsg (replyto, "Failed to get info for issue %s: %s" % (ticket, e))
 
 	if data:
 		if data['view_state']['name'] == 'private':

mercurial