Fix the spawn_notification to work in all cases and clean up some of the remaining code

This commit is contained in:
Joseph Schorr 2014-07-18 16:34:52 -04:00
parent 591cd020b8
commit 752efb9e0f
17 changed files with 18379 additions and 18415 deletions

View file

@ -1581,7 +1581,7 @@ def list_repo_notifications(namespace_name, repository_name, event_name=None):
if event_name:
event = ExternalNotificationEvent.get(ExternalNotificationEvent.name == event_name)
where = where.where(Repostiory.event == event)
where = where.where(RepositoryNotification.event == event)
return where