Print the commit name too.

This commit is contained in:
Simon Quigley 2018-05-20 22:56:20 -05:00
parent b7d3569bc7
commit c82c7fc555

2
lugito
View File

@ -141,6 +141,8 @@ def main():
sendnotice(message)
elif data["object"]["type"] == "CMIT":
print("It's a commit!")
commitphid = data["object"]["phid"]
print(phab.phid.query(phids=[commitphid])[commitphid]["fullName"])
return "OK"