Show More
@@ -397,7 +397,7 b' class ScmModel(BaseModel):' | |||||
397 |
|
397 | |||
398 | def push_changes(self, repo, username, remote_uri=None): |
|
398 | def push_changes(self, repo, username, remote_uri=None): | |
399 | dbrepo = self._get_repo(repo) |
|
399 | dbrepo = self._get_repo(repo) | |
400 |
remote_uri = remote_uri or dbrepo. |
|
400 | remote_uri = remote_uri or dbrepo.push_uri | |
401 | if not remote_uri: |
|
401 | if not remote_uri: | |
402 | raise Exception("This repository doesn't have a clone uri") |
|
402 | raise Exception("This repository doesn't have a clone uri") | |
403 |
|
403 |
General Comments 0
You need to be logged in to leave comments.
Login now