mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-25 01:16:14 +01:00
handle "_project" package always as local package
This commit is contained in:
parent
502dbaa030
commit
2364a08236
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user