svn path=/main/trunk/; revision=5891
if mydb.cp_list(x+"/"+myp,use_cache=use_cache):
matches.append(x+"/"+myp)
if len(matches) > 1:
+ virtual_name_collision = False
if len(matches) == 2:
for x in matches:
if not x.startswith("virtual/"):
# installed packages (during reverse blocker detection,
# for example).
mykey = x
- break
- if mykey is None:
+ else:
+ virtual_name_collision = True
+ if not virtual_name_collision:
raise ValueError, matches
elif matches:
mykey=matches[0]