From e7424f0619361873da7a62af0a58a6ba5785f8fa Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Mon, 28 Aug 2006 18:39:30 +0000 Subject: [PATCH] Fixed #2607 -- Fixed incorrect ordering of super() arguments in DateTimeAwareJSONEncoder. Thanks for the patch, dummy@habmalnefrage.de git-svn-id: http://code.djangoproject.com/svn/django/trunk@3671 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/core/serializers/json.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/core/serializers/json.py b/django/core/serializers/json.py index a8b4259099..72234a624b 100644 --- a/django/core/serializers/json.py +++ b/django/core/serializers/json.py @@ -48,4 +48,4 @@ class DateTimeAwareJSONEncoder(simplejson.JSONEncoder): elif isinstance(o, datetime.time): return o.strftime(self.TIME_FORMAT) else: - return super(self, DateTimeAwareJSONEncoder).default(o) \ No newline at end of file + return super(DateTimeAwareJSONEncoder, self).default(o)