Ticket #11993: 11993.diff
File 11993.diff, 431 bytes (added by , 15 years ago) |
---|
-
django/template/defaultfilters.py
162 162 163 163 try: 164 164 m = int(d) - d 165 except ( OverflowError, InvalidOperation):165 except (ValueError, OverflowError, InvalidOperation): 166 166 return input_val 167 167 168 168 if not m and p < 0: