Show More
@@ -180,7 +180,9 b' class ScmModel(BaseModel):' | |||||
180 | .options(joinedload(Repository.user))\ |
|
180 | .options(joinedload(Repository.user))\ | |
181 | .filter(Repository.repo_name == repo_name)\ |
|
181 | .filter(Repository.repo_name == repo_name)\ | |
182 | .scalar() |
|
182 | .scalar() | |
183 | make_transient(dbrepo) |
|
183 | ||
|
184 | self.sa.expunge(dbrepo) | |||
|
185 | ||||
184 | repo.dbrepo = dbrepo |
|
186 | repo.dbrepo = dbrepo | |
185 | return repo |
|
187 | return repo | |
186 |
|
188 |
General Comments 0
You need to be logged in to leave comments.
Login now