cobalt.py

changeset 44
616743868d4a
parent 43
637cee1d89f0
child 45
fdfcdf405b16
equal deleted inserted replaced
43:637cee1d89f0 44:616743868d4a
1000 result = decipher_hgapi_error (e) 1000 result = decipher_hgapi_error (e)
1001 1001
1002 if result[0]: 1002 if result[0]:
1003 self.privmsg (replyto, 'error: %s' % result[1]) 1003 self.privmsg (replyto, 'error: %s' % result[1])
1004 else: 1004 else:
1005 self.privmsg (replyto, 'error (unable to decipher error message)') 1005 self.privmsg (replyto, 'error: %s' % `e`)
1006 #fi 1006 #fi
1007 #tried 1007 #tried
1008 # else: 1008 # else:
1009 # raiee logical_exception ("unknown command `.%s`" % command) 1009 # raiee logical_exception ("unknown command `.%s`" % command)
1010 1010

mercurial