[1.1.X] Fixed #13453: Corrected typo in template syntax error message. Thanks jheasly.

r13061 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13062 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Karen Tracey 2010-05-01 02:32:45 +00:00
parent fe3b75e276
commit ef0e10cccf
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ class CacheNode(Node):
try:
expire_time = self.expire_time_var.resolve(context)
except VariableDoesNotExist:
raise TemplateSyntaxError('"cache" tag got an unknkown variable: %r' % self.expire_time_var.var)
raise TemplateSyntaxError('"cache" tag got an unknown variable: %r' % self.expire_time_var.var)
try:
expire_time = int(expire_time)
except (ValueError, TypeError):