1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-24 17:16:12 +01:00

handle "_project" package always as local package

This commit is contained in:
Adrian Schröter 2016-05-31 09:26:28 +02:00
parent 502dbaa030
commit 2364a08236

View File

@ -1653,6 +1653,8 @@ class Package:
def is_link_to_different_project(self):
"""Check if the package is a link to a different project."""
if self.name == "_project":
return False
orgprj = self.get_local_origin_project()
return self.prjname != orgprj