1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Removed a bunch more Python 2.4 workarounds now that we don't support that version. Refs #15702 -- thanks to jonash for the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15927 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty
2011-03-28 02:11:19 +00:00
parent a87be3554f
commit 13864703bc
56 changed files with 113 additions and 326 deletions

View File

@@ -1,7 +1,7 @@
from functools import update_wrapper
from django.conf import settings
from django.db import connection, DEFAULT_DB_ALIAS
from django.test import TestCase, skipUnlessDBFeature
from django.utils import functional
from models import Reporter, Article
@@ -23,7 +23,7 @@ def ignore_not_implemented(func):
return func(*args, **kwargs)
except NotImplementedError:
return None
functional.update_wrapper(_inner, func)
update_wrapper(_inner, func)
return _inner
class IgnoreNotimplementedError(type):