mirror of
https://github.com/openSUSE/osc.git
synced 2025-11-26 06:29:50 +01:00
Add 'git-obs staging' command for staging multiple package pull requests into a single project pull request
This commit is contained in:
@@ -34,9 +34,10 @@ class Repo(GiteaModel):
|
||||
|
||||
@property
|
||||
def parent_obj(self) -> Optional["Repo"]:
|
||||
if not self._data["parent"]:
|
||||
parent_data = self._data.get("parent")
|
||||
if not parent_data:
|
||||
return None
|
||||
return Repo(self._data["parent"])
|
||||
return Repo(parent_data)
|
||||
|
||||
@property
|
||||
def clone_url(self) -> str:
|
||||
|
||||
Reference in New Issue
Block a user