diff -r 4bd3abd5525b -r 60ead38a61af hgpoll.py --- a/hgpoll.py Mon Nov 17 22:23:48 2014 +0200 +++ b/hgpoll.py Mon Nov 17 22:25:18 2014 +0200 @@ -77,6 +77,8 @@ return self.message def announce_ticket_resolved (ticket_id, commit_node): + ticket_id = int (ticket_id) + try: repo_name = 'zandronum-stable' zanrepo = hgapi.Repo (repo_name)