Mercurial > kallithea
diff kallithea/lib/middleware/simplegit.py @ 4203:9daad8c50b37 kallithea-2.2.5-rebrand
Rename database classes (but not table names)
author | Bradley M. Kuhn <bkuhn@sfconservancy.org> |
---|---|
date | Wed, 02 Jul 2014 19:05:36 -0400 |
parents | d1addaf7a91e |
children | ad38f9f93b3b |
line wrap: on
line diff
--- a/kallithea/lib/middleware/simplegit.py Wed Jul 02 19:05:31 2014 -0400 +++ b/kallithea/lib/middleware/simplegit.py Wed Jul 02 19:05:36 2014 -0400 @@ -34,7 +34,7 @@ from paste.httpheaders import REMOTE_USER, AUTH_TYPE from webob.exc import HTTPNotFound, HTTPForbidden, HTTPInternalServerError, \ HTTPNotAcceptable -from kallithea.model.db import User, RhodeCodeUi +from kallithea.model.db import User, Ui from kallithea.lib.utils2 import safe_str, fix_PATH, get_server_url,\ _set_extras @@ -289,7 +289,7 @@ if action == 'pull': # stupid git, emulate pre-pull hook ! pre_pull(ui=baseui, repo=_repo._repo) - if action == 'pull' and _hooks.get(RhodeCodeUi.HOOK_PULL): + if action == 'pull' and _hooks.get(Ui.HOOK_PULL): log_pull_action(ui=baseui, repo=_repo._repo) def __inject_extras(self, repo_path, baseui, extras={}):