##// END OF EJS Templates
removed dirty fix for #87 since it,s a no fix after all.
marcink -
r828:f78f4b80 beta
parent child Browse files
Show More
@@ -144,13 +144,7 b' class ScmModel(BaseModel):'
144 tmp_d['tip'] = tip.raw_id
144 tmp_d['tip'] = tip.raw_id
145 tmp_d['tip_sort'] = tip.revision
145 tmp_d['tip_sort'] = tip.revision
146 tmp_d['rev'] = tip.revision
146 tmp_d['rev'] = tip.revision
147
147 tmp_d['contact'] = repo.dbrepo.user.full_contact
148 #dirty hack for some problems
149 usr = repo.dbrepo.user
150 if isinstance(usr, basestring):
151 usr = UserModel(self.sa).get_by_username(repo.dbrepo.user)
152
153 tmp_d['contact'] = usr.full_contact
154 tmp_d['contact_sort'] = tmp_d['contact']
148 tmp_d['contact_sort'] = tmp_d['contact']
155 tmp_d['repo_archives'] = list(repo._get_archives())
149 tmp_d['repo_archives'] = list(repo._get_archives())
156 tmp_d['last_msg'] = tip.message
150 tmp_d['last_msg'] = tip.message
General Comments 0
You need to be logged in to leave comments. Login now