summaryrefslogtreecommitdiff
path: root/django/dispatch
diff options
context:
space:
mode:
authorJannis Leidel <jannis@leidel.info>2011-07-13 09:35:51 +0000
committerJannis Leidel <jannis@leidel.info>2011-07-13 09:35:51 +0000
commit24f4764a48e4141923a78c8820e4cd7b411ec0fc (patch)
treeeed2e98eb3aad1e10c7fda902bc8b875e19929e2 /django/dispatch
parent956da729d19d619c210a2466d4435d4967249e7f (diff)
Fixed #16225 -- Removed unused imports. Many thanks to Aymeric Augustin for the work on the patch and Alex for reviewing.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16539 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/dispatch')
-rw-r--r--django/dispatch/saferef.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/django/dispatch/saferef.py b/django/dispatch/saferef.py
index f446447b46..1c7d16474f 100644
--- a/django/dispatch/saferef.py
+++ b/django/dispatch/saferef.py
@@ -5,7 +5,8 @@ Provides a way to safely weakref any function, including bound methods (which
aren't handled by the core weakref module).
"""
-import weakref, traceback
+import traceback
+import weakref
def safeRef(target, onDelete = None):
"""Return a *safe* weak reference to a callable target