1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-05 02:56:17 +01:00

Also consider the project name in findpacs

Otherwise, we could merge two packages that belong to different projects.
Actually, we should also check the apiurls...
This commit is contained in:
Marcus Huewe 2017-08-04 14:51:34 +02:00
parent 853ab4f758
commit d34e0ace77

View File

@ -3110,7 +3110,7 @@ def findpacs(files, progress_obj=None, fatal=True):
continue continue
known = None known = None
for i in pacs: for i in pacs:
if i.name == p.name: if i.name == p.name and i.prjname == p.prjname:
known = i known = i
break break
if known: if known: