From 2a8b5f3cbde7a39b01450e51175bb727ecaee75d Mon Sep 17 00:00:00 2001 From: Brian Stinson Date: Sep 14 2015 16:57:38 +0000 Subject: Fix string format in write_file python 2.6 requires positional arguments in the format strings --- diff --git a/scripts/koji-group-sync.py b/scripts/koji-group-sync.py index 6e6857a..334fe9f 100644 --- a/scripts/koji-group-sync.py +++ b/scripts/koji-group-sync.py @@ -26,7 +26,7 @@ def write_file(group_membership, filename=GROUP_FILE): with open(filename, 'w') as groupfile: for groupname, users in group_membership.iteritems(): signame = groupname[len(GROUP_INCLUDE_PREFIX):] - print >>groupfile, "{}:{}".format(signame, ','.join(users)) + print >>groupfile, "{0}:{1}".format(signame, ','.join(users)) if __name__ == '__main__':