diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2006-06-08 05:00:13 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2006-06-08 05:00:13 +0000 |
| commit | 2abfd5dd586c4f6fb619de561b2194687021e256 (patch) | |
| tree | 51f32f85db5f5fae270924bdf93d2ff3072fc9c2 /django/utils/dateformat.py | |
| parent | 5edd1335b2ae3530bab124b8e9cfb6928a975088 (diff) | |
Fixed #2109 -- Convert old-style classes to new-style classes throughout Django. Thanks, Nicola Larosa
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/utils/dateformat.py')
| -rw-r--r-- | django/utils/dateformat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/dateformat.py b/django/utils/dateformat.py index 4e5f2bc8c0..0890a81a81 100644 --- a/django/utils/dateformat.py +++ b/django/utils/dateformat.py @@ -19,7 +19,7 @@ import re, time re_formatchars = re.compile(r'(?<!\\)([aABdDfFgGhHiIjlLmMnNOPrsStTUwWyYzZ])') re_escaped = re.compile(r'\\(.)') -class Formatter: +class Formatter(object): def format(self, formatstr): pieces = [] for i, piece in enumerate(re_formatchars.split(formatstr)): |
