bt.py

changeset 78
afc0fc2a57e4
parent 77
8f45af91a4f3
child 83
3dab1fd47d51
equal deleted inserted replaced
77:8f45af91a4f3 78:afc0fc2a57e4
19 19
20 data = {} 20 data = {}
21 try: 21 try:
22 data = get_issue (ticket) 22 data = get_issue (ticket)
23 except Exception, e: 23 except Exception, e:
24 bot.privmsg (replyto, "Failed to get info for issue %s: %s" % (ticket, `e`)) 24 bot.privmsg (replyto, "Failed to get info for issue %s: %s" % (ticket, e))
25 25
26 if data: 26 if data:
27 if data['view_state']['name'] == 'private': 27 if data['view_state']['name'] == 'private':
28 allowprivate = False 28 allowprivate = False
29 29

mercurial