diff --git a/roles/distgit/templates/genacls.pkgdb b/roles/distgit/templates/genacls.pkgdb index 8569274346..00ae1d16a6 100644 --- a/roles/distgit/templates/genacls.pkgdb +++ b/roles/distgit/templates/genacls.pkgdb @@ -33,11 +33,11 @@ if __name__ == '__main__': RESERVED = ['f[0-9][0-9]', 'epel[0-9]', 'epel[0-9][0-9]', 'el[0-9]', 'olpc[0-9]'] # Read the ACL information from the packageDB - {% if env == 'staging' %} +{% if env == 'staging' %} url = 'https://admin.stg.fedoraproject.org/pkgdb/api/vcs?format=json' - {% else %} +{% else %} url = 'https://admin.fedoraproject.org/pkgdb/api/vcs?format=json' - {% endif %} +{% endif %} data = requests.get(url).json() # Get a list of all the packages