From aea7ccf99541c16b2f45d00dc15d0ae006609ba0 Mon Sep 17 00:00:00 2001 From: Adam Miller Date: Feb 16 2017 22:35:09 +0000 Subject: fix formatting for fedcontainer_rc ... again Signed-off-by: Adam Miller --- diff --git a/ansible/library/fedcontainer_rc.py b/ansible/library/fedcontainer_rc.py index 2c3394e..64204cd 100755 --- a/ansible/library/fedcontainer_rc.py +++ b/ansible/library/fedcontainer_rc.py @@ -116,7 +116,7 @@ def get_releasecandidates(release_num): fnvr_split = full_nvr.split('-') rclist.append("{}/{}:{}".format(fgc, '-'.join(fnvr_split[:-2]), '-'.join(fnvr_split[-2:]))) rclist.append("{}/{}:{}".format(fgc, '-'.join(fnvr_split[:-2]),fnvr_split[-2:][0])) - rclist.append("{}/{}".format(fgc, ':'.join(fnvr_split[:-2]))) + rclist.append("{}/{}".format(fgc, '-'.join(fnvr_split[:-2]))) except IndexError: # This happens when we have a container branched in pkgdb but nobody # has done a build in koji yet.