1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-26 22:56:15 +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
known = None
for i in pacs:
if i.name == p.name:
if i.name == p.name and i.prjname == p.prjname:
known = i
break
if known: