--- a/app/django/contrib/auth/decorators.py Tue Oct 14 12:36:55 2008 +0000
+++ b/app/django/contrib/auth/decorators.py Tue Oct 14 16:00:59 2008 +0000
@@ -1,7 +1,7 @@
try:
- from functools import wraps, update_wrapper
+ from functools import update_wrapper
except ImportError:
- from django.utils.functional import wraps, update_wrapper # Python 2.3, 2.4 fallback.
+ from django.utils.functional import update_wrapper # Python 2.3, 2.4 fallback.
from django.contrib.auth import REDIRECT_FIELD_NAME
from django.http import HttpResponseRedirect