Ticket #4123: firstof_patch.diff
File firstof_patch.diff, 443 bytes (added by , 18 years ago) |
---|
-
defaulttags.py
491 491 492 492 but obviously much cleaner! 493 493 """ 494 bits = token. contents.split()[1:]494 bits = token.split_contents()[1:] 495 495 if len(bits) < 1: 496 496 raise TemplateSyntaxError, "'firstof' statement requires at least one argument" 497 497 return FirstOfNode(bits)