notifications: another switch to repo attrdict

Fixes #1919.
This commit is contained in:
Jimmy Zelinskie 2016-10-01 16:42:10 -04:00
parent 6359cb31da
commit fae9538467
2 changed files with 11 additions and 3 deletions

View file

@ -1,8 +1,9 @@
import json
from app import app, notification_queue
from data import model
from auth.auth_context import get_authenticated_user, get_validated_oauth_token
import json
def build_event_data(repo, extra_data={}, subpage=None):
repo_string = '%s/%s' % (repo.namespace_name, repo.name)