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