extras-buildsys/server UserInterface.py,1.36,1.37
Seth Vidal (skvidal)
fedora-extras-commits at redhat.com
Sat Jul 30 15:05:33 UTC 2005
Author: skvidal
Update of /cvs/fedora/extras-buildsys/server
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31421
Modified Files:
UserInterface.py
Log Message:
make sure resolve_target looks at the master targets, too, not just the
aliases
Index: UserInterface.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/server/UserInterface.py,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- UserInterface.py 29 Jul 2005 07:13:53 -0000 1.36
+++ UserInterface.py 30 Jul 2005 15:05:19 -0000 1.37
@@ -83,7 +83,11 @@
for master_target in client_target_map.keys():
if not target_dict.has_key(master_target): # make sure we build it
continue # if not, move along
+
+ if target_dict.has_key(resolved_target): # it's one of the masters
+ return resolved_target
+ # do the aliases
for alias in client_target_map[master_target]:
if resolved_target.lower() == alias.lower():
return master_target
More information about the fedora-extras-commits
mailing list