- else:
- try:
- s_action = "update"
- marge_hook.attributes['url'] = url
- marge_hook.save()
- s_watch_msg = "Updating room list for {} MRs from {} to {}".format(repo, old_rooms, rooms)
- except Exception as exp:
- hook_updated = False
- self.log.error("watchrepo; update hook {} raised exception {}".format(repo, exp))
+ try:
+ s_action = "update"
+ marge_hook.attributes['url'] = url
+ marge_hook.save()
+ s_watch_msg = "Updating room list for {} MRs from {} to {}".format(repo, old_rooms, rooms)
+ except Exception as exp:
+ hook_updated = False
+ self.log.error("watchrepo; update hook {} raised exception {}".format(repo, exp))