Commits

rjollos  committed a06dc71

1.1.2dev: Merged [12008] from 1.0-stable.

  • Participants
  • Parent commits 725fd62

Comments (0)

Files changed (2)

File trac/timeline/web_ui.py

                                               parse_date(path, utc),
                                               label, precision, query, fragment)
             except TracError, e:
-                return tag.a(label, title=to_unicode(e.message),
+                return tag.a(label, title=to_unicode(e),
                              class_='timeline missing')
         yield ('timeline', link_resolver)
 

File trac/versioncontrol/api.py

                                 "Look in the Trac log for more information "
                                 "including mitigation strategies.", 
                                 name=reponame or '(default)',
-                                error=to_unicode(e.message)))
+                                error=to_unicode(e)))
                             self.log.error("Failed to sync with repository "
                                 "\"%s\"; You may be able to reduce the impact "
                                 "of this issue by configuring [trac] "
                         _("Can't synchronize with repository \"%(name)s\" "
                           "(%(error)s). Look in the Trac log for more "
                           "information.", name=reponame or '(default)',
-                          error=to_unicode(e.message)))
+                          error=to_unicode(e)))
                 self.log.info("Synchronized '%s' repository in %0.2f seconds",
                               reponame or '(default)', time.time() - start)
         return handler