diff options
| author | Jacob Kaplan-Moss <jacob@jacobian.org> | 2006-07-21 20:39:17 +0000 |
|---|---|---|
| committer | Jacob Kaplan-Moss <jacob@jacobian.org> | 2006-07-21 20:39:17 +0000 |
| commit | a926046ba633ac38d3306b6bc10677a670929786 (patch) | |
| tree | 4faf4d60a6b42145b2e753b81a6f6e9029c43b5f /django/template/__init__.py | |
| parent | 5c5ca53b703dd81b693ddf43c5f51590002dd78b (diff) | |
Second half of little cleanup tweaks suggested by pyflakes.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3414 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/template/__init__.py')
| -rw-r--r-- | django/template/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/template/__init__.py b/django/template/__init__.py index ea82a4697f..a4c282f2ff 100644 --- a/django/template/__init__.py +++ b/django/template/__init__.py @@ -817,7 +817,7 @@ class Library(object): self.filters[name] = filter_func return filter_func else: - raise InvalidTemplateLibrary, "Unsupported arguments to Library.filter: (%r, %r, %r)", (name, compile_function, has_arg) + raise InvalidTemplateLibrary, "Unsupported arguments to Library.filter: (%r, %r)", (name, filter_func) def filter_function(self, func): self.filters[func.__name__] = func |
