[Trac-tickets] Re: [The Trac Project] #234: Inter-project links

The Trac Project noreply at edgewall.com
Fri Nov 5 10:30:18 EST 2004


#234: Inter-project links
-------------------------+--------------------------------------------------
       Id:  234          |      Status:  new                     
Component:  general      |    Modified:  Fri Nov  5 10:30:18 2004
 Severity:  enhancement  |   Milestone:  1.0                     
 Priority:  normal       |     Version:  devel                   
    Owner:  jonas        |    Reporter:  david.larsson at benima.se 
-------------------------+--------------------------------------------------
Comment (by cboos at bct-technology.com):

 Oops, the patch initially posted ('' Fri Nov 5 09:37:01 2004. '') had a
 little typo in it,
 I just uploaded the fixed version.

 The typo was:
 {{{
 #!text/x-diff
 === trac/WikiFormatter.py
 ==================================================================
 --- trac/WikiFormatter.py  (revision 1048)
 +++ trac/WikiFormatter.py  (local)
 @@ -186,7 +186,7 @@
      def _tickethref_formatter(self, match, fullmatch):
          intertrac = fullmatch.group('t_intertrac')
          if intertrac:
 -            number = int(match[1+len(intertrac):-1])
 +            number = int(match[1+len(intertrac):])
              href, title, _class = self._intertrac_link(intertrac)
              return '<a class="%s" title="%s" href="%s/ticket/%d">#%d</a>'
 % (_class, title, href, number, number)
          else:
 }}}

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/234>
The Trac Project <>


More information about the Trac-Tickets mailing list