Show More
@@ -331,8 +331,8 b' class ScmModel(BaseModel):' | |||
|
331 | 331 | .filter(Repository.fork_id == repo_id).count() |
|
332 | 332 | |
|
333 | 333 | def pull_changes(self, repo_name, username): |
|
334 | repo, dbrepo = self.get(repo_name, retval='all') | |
|
335 | ||
|
334 | dbrepo = Repository.by_repo_name(repo_name) | |
|
335 | repo = dbrepo.scm_instance | |
|
336 | 336 | try: |
|
337 | 337 | extras = {'ip': '', |
|
338 | 338 | 'username': username, |
General Comments 0
You need to be logged in to leave comments.
Login now