summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalph Bean <rbean@redhat.com>2017-08-07 17:11:50 +0000
committerRalph Bean <rbean@redhat.com>2017-08-07 17:11:57 +0000
commitdbcedff04d7fb3d45a9fa8bc0d70d9c7d223fe3d (patch)
tree8ee3644d12226e62a5c1b18b91d1e1518be6fbfc
parent0a8193a50e5a17dd001e3bb29786aca78a1fee8f (diff)
downloadansible-dbcedff04d7fb3d45a9fa8bc0d70d9c7d223fe3d.tar.gz
ansible-dbcedff04d7fb3d45a9fa8bc0d70d9c7d223fe3d.tar.xz
ansible-dbcedff04d7fb3d45a9fa8bc0d70d9c7d223fe3d.zip
Missing initialization.
-rwxr-xr-xroles/bodhi2/backend/templates/owner-sync-pagure.j21
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/bodhi2/backend/templates/owner-sync-pagure.j2 b/roles/bodhi2/backend/templates/owner-sync-pagure.j2
index f3af10cfb..47c78df46 100755
--- a/roles/bodhi2/backend/templates/owner-sync-pagure.j2
+++ b/roles/bodhi2/backend/templates/owner-sync-pagure.j2
@@ -149,6 +149,7 @@ def get_pagure_projects(namespace):
def get_project_ownership(tag, namespace):
+ projects = {}
for project in get_pagure_projects(namespace=namespace):
# Check if this project has the branch we are interested in
project_branches_url = '{0}api/0/{1}/{2}/git/branches'.format(