# HG changeset patch # User Marcin Kuzminski # Date 1291991142 -3600 # Node ID f78f4b8052e296125d361bf48beba53cdbd654c5 # Parent 9205fa08055433af2cab4f07ada61c870df4bcc1 removed dirty fix for #87 since it,s a no fix after all. diff -r 9205fa080554 -r f78f4b8052e2 rhodecode/model/scm.py --- a/rhodecode/model/scm.py Fri Dec 10 00:11:18 2010 +0100 +++ b/rhodecode/model/scm.py Fri Dec 10 15:25:42 2010 +0100 @@ -144,13 +144,7 @@ tmp_d['tip'] = tip.raw_id tmp_d['tip_sort'] = tip.revision tmp_d['rev'] = tip.revision - - #dirty hack for some problems - usr = repo.dbrepo.user - if isinstance(usr, basestring): - usr = UserModel(self.sa).get_by_username(repo.dbrepo.user) - - tmp_d['contact'] = usr.full_contact + tmp_d['contact'] = repo.dbrepo.user.full_contact tmp_d['contact_sort'] = tmp_d['contact'] tmp_d['repo_archives'] = list(repo._get_archives()) tmp_d['last_msg'] = tip.message