From d1f6a2f6478c1ac7242eb13833ffa60a6834bc4d Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Wed, 25 May 2011 11:24:55 -0500 Subject: [PATCH] Force-remove F-13 from valid branch list. Since f15 is out, we no longer allow F-13 branches. Remove it from the valid list. --- scripts/process-git-requests/process-git-requests | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/process-git-requests/process-git-requests b/scripts/process-git-requests/process-git-requests index 27743ff..b72f2f7 100755 --- a/scripts/process-git-requests/process-git-requests +++ b/scripts/process-git-requests/process-git-requests @@ -706,6 +706,13 @@ if __name__ == '__main__': print "Getting valid branches...." for i in pkgdb.get_collection_list(eol=False): branches[i[0]['branchname']] = 1 + + # Unfortunately pkgdb can't tell us when branches are no longer accepted + print branches + if 'F-13' in branches: + del branches['F-13'] + print branches + print "Connecting to FAS..." fas = AccountSystem(username=options.user) print "Done."