From: Anders Kaseorg Date: Tue, 17 Feb 2009 21:40:53 +0000 (-0500) Subject: Send with opcode auto. X-Git-Url: http://andersk.mit.edu/gitweb/jira-zephyrbot.git/commitdiff_plain/278c5c286c9d3e4e8791d6f80596b4c48fa3e04d Send with opcode auto. --- diff --git a/jirabot.py b/jirabot.py index 1a7edcb..6198303 100755 --- a/jirabot.py +++ b/jirabot.py @@ -68,6 +68,7 @@ def parse_issue(e): return zephyr.ZNotice( sender=zephyr_sender, auth=False, + opcode='auto', cls=zephyr_class, instance=issue, fields=[e.title, msg], @@ -89,6 +90,7 @@ def parse_comment(e): return zephyr.ZNotice( sender=zephyr_sender, auth=False, + opcode='auto', cls=zephyr_class, instance=issue, fields=[e.title, msg], @@ -98,6 +100,7 @@ def zerror(msg): return zephyr.ZNotice( sender=zephyr_sender, auth=False, + opcode='auto', cls=zephyr_class, instance='jira-error', fields=['Jira bot error', msg]