Mercurial > kallithea
diff rhodecode/lib/middleware/simplegit.py @ 1530:04027bdb876c beta
Refactoring of model get functions
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 08 Oct 2011 02:02:25 +0200 |
parents | 7d687ed11929 |
children | 752b0a7b7679 7cd8fd4d1e38 |
line wrap: on
line diff
--- a/rhodecode/lib/middleware/simplegit.py Fri Oct 07 23:17:45 2011 +0200 +++ b/rhodecode/lib/middleware/simplegit.py Sat Oct 08 02:02:25 2011 +0200 @@ -262,7 +262,7 @@ return repo_name def __get_user(self, username): - return User.by_username(username) + return User.get_by_username(username) def __get_action(self, environ): """Maps git request commands into a pull or push command.