diff rhodecode/lib/middleware/simplegit.py @ 1564:752b0a7b7679

Merge with beta
author Marcin Kuzminski <marcin@python-works.com>
date Mon, 17 Oct 2011 01:01:18 +0200
parents bf263968da47 04027bdb876c
children 95c3e33ef32e
line wrap: on
line diff
--- a/rhodecode/lib/middleware/simplegit.py	Sat Oct 08 16:26:29 2011 +0200
+++ b/rhodecode/lib/middleware/simplegit.py	Mon Oct 17 01:01:18 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.