diff options
| author | Jacob Kaplan-Moss <jacob@jacobian.org> | 2005-07-20 17:09:39 +0000 |
|---|---|---|
| committer | Jacob Kaplan-Moss <jacob@jacobian.org> | 2005-07-20 17:09:39 +0000 |
| commit | 067f56d93de6232179ce2651281c67256ab28023 (patch) | |
| tree | d568a4324c652bde51a59cdee431069c437edc02 | |
| parent | 890bd5b0d24a0f1dba6eab639c3b1e731424b006 (diff) | |
Fixed really dumb bug in [244]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@245 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/contrib/comments/templatetags/comments.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/comments/templatetags/comments.py b/django/contrib/comments/templatetags/comments.py index 4b9cf353cd..d3044b992f 100644 --- a/django/contrib/comments/templatetags/comments.py +++ b/django/contrib/comments/templatetags/comments.py @@ -322,7 +322,7 @@ class DoGetCommentList: tokens = token.contents.split() # Now tokens is a list like this: # ['get_comment_list', 'for', 'lcom.eventtimes', 'event.id', 'as', 'comment_list'] - if 6 <= len(tokens) <= 7 + if 6 <= len(tokens) <= 7: raise template.TemplateSyntaxError, "%s block tag requires 5 or 6 arguments" % self.tag_name if tokens[1] != 'for': raise template.TemplateSyntaxError, "Second argument in '%s' tag must be 'for'" % self.tag_name |
