Ticket #3670: templateif_patch.patch
File templateif_patch.patch, 436 bytes (added by , 18 years ago) |
---|
-
__init__.py
632 632 633 633 (The example assumes VARIABLE_ATTRIBUTE_SEPARATOR is '.') 634 634 """ 635 if path[0].isdigit() :635 if path[0].isdigit() or path[0] == "-": 636 636 number_type = '.' in path and float or int 637 637 try: 638 638 current = number_type(path)