1. Alex Willmer
  2. trac-ticketlinks

Commits

Alex Willmer  committed 4dc7ce5

Don't reverse map unidorectional links in TicketSystem

  • Participants
  • Parent commits 27452a0
  • Branches ticket-links-trunk

Comments (0)

Files changed (1)

File trac/ticket/api.py

View file
         for controller in self.link_controllers:
             for end1, end2 in controller.get_ends():
                 self.link_ends_map[end1] = end2
-                self.link_ends_map[end2] = end1
+                if end2 is not None:
+                    self.link_ends_map[end2] = end1
         
 
     # Public API