mirror of
https://github.com/django/django.git
synced 2025-10-30 00:56:09 +00:00
remove a bunch of unnescesarry iterkeys() calls
This commit is contained in:
@@ -1189,7 +1189,7 @@ def templatetag(parser, token):
|
||||
if tag not in TemplateTagNode.mapping:
|
||||
raise TemplateSyntaxError("Invalid templatetag argument: '%s'."
|
||||
" Must be one of: %s" %
|
||||
(tag, list(six.iterkeys(TemplateTagNode.mapping))))
|
||||
(tag, list(TemplateTagNode.mapping)))
|
||||
return TemplateTagNode(tag)
|
||||
|
||||
@register.tag
|
||||
|
||||
Reference in New Issue
Block a user