diff --git a/roles/bodhi2/backend/templates/owner-sync-pagure.j2 b/roles/bodhi2/backend/templates/owner-sync-pagure.j2 index 306dcb9a7d..2b634d0dfa 100755 --- a/roles/bodhi2/backend/templates/owner-sync-pagure.j2 +++ b/roles/bodhi2/backend/templates/owner-sync-pagure.j2 @@ -405,7 +405,7 @@ if __name__ == '__main__': if verbose: print('Determining which projects have the namespace "{0}" and ' 'branch "{1}"'.format(namespace, tag)) - namespaces = info['namespace'] + namespaces = info['namespaces'] pkgs = [] for namespace in namespaces: for pkg, branches in namespace_to_projects[namespace].items():