Changeset - 7c0b55fb3a85
default
0
4
0
controllers: remove redundant Repository database lookups
BaseRepoController already provides the repository object in c.db_repo
(may be None) and BaseController already provides the repository name
in c.repo_name (as given in the URL).
(Arguably, that's a bad design, and we should revisit that decision in
the future. For now, the code just performs slightly better.)
BaseRepoController already provides the repository object in c.db_repo
(may be None) and BaseController already provides the repository name
in c.repo_name (as given in the URL).
(Arguably, that's a bad design, and we should revisit that decision in
the future. For now, the code just performs slightly better.)
4 files changed with 24 insertions and 29 deletions:
0 comments (0 inline, 0 general)
0 comments (0 inline, 0 general)