0
0
mirror of https://github.com/django/django.git synced 2024-11-29 22:56:46 +01:00

Merge pull request #595 from bmispelon/patch-1

Fixed a typo in WidthRatioNode.
This commit is contained in:
Aymeric Augustin 2012-12-29 13:39:52 -08:00
commit a7b7d6320c

View File

@ -453,7 +453,7 @@ class WidthRatioNode(Node):
except VariableDoesNotExist:
return ''
except (ValueError, TypeError):
raise TemplateSyntaxError("widthratio final argument must be an number")
raise TemplateSyntaxError("widthratio final argument must be a number")
try:
value = float(value)
max_value = float(max_value)