Changeset - f78f4b8052e2
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 15 years ago 2010-12-10 15:25:42
marcin@python-works.com
removed dirty fix for #87 since it,s a no fix after all.
1 file changed with 1 insertions and 7 deletions:
0 comments (0 inline, 0 general)
rhodecode/model/scm.py
Show inline comments
 
@@ -141,19 +141,13 @@ class ScmModel(BaseModel):
 
                tmp_d['description_sort'] = tmp_d['description']
 
                tmp_d['last_change'] = last_change
 
                tmp_d['last_change_sort'] = time.mktime(last_change.timetuple())
 
                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
 
                tmp_d['repo'] = repo
 
                yield tmp_d
 

	
0 comments (0 inline, 0 general)