Commits

Alex Willmer committed 684abaf

Correct spelling of validate_no_cycle()

Comments (0)

Files changed (1)

trac/ticket/links.py

             if check:
                 yield None, check
         
-    def validate_no_cyle(self, ticket, end):
+    def validate_no_cycle(self, ticket, end):
         cycle = self.find_cycle(ticket, end, [])
         if cycle != None:
             cycle_str = ['#%s'%id for id in cycle]
                 labels[end2] = label2
             validator = config.get(name + '.validator')
             if validator == 'no_cycle':
-                validators[end1] = self.validate_no_cyle
+                validators[end1] = self.validate_no_cycle
                 if end2:
-                    validators[end2] = self.validate_no_cyle
+                    validators[end2] = self.validate_no_cycle
 
         return links, labels, validators