scm-model: fix the reference to the proper default url used for pushing
This commit is contained in:
parent
c2c94c7f57
commit
803051c06b
1 changed files with 1 additions and 1 deletions
|
|
@ -397,7 +397,7 @@ class ScmModel(BaseModel):
|
|||
|
||||
def push_changes(self, repo, username, remote_uri=None):
|
||||
dbrepo = self._get_repo(repo)
|
||||
remote_uri = remote_uri or dbrepo.clone_uri
|
||||
remote_uri = remote_uri or dbrepo.push_uri
|
||||
if not remote_uri:
|
||||
raise Exception("This repository doesn't have a clone uri")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue