summaryrefslogtreecommitdiff
path: root/django/utils/hashcompat.py
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@polyconseil.fr>2012-05-03 15:27:01 +0200
committerAymeric Augustin <aymeric.augustin@polyconseil.fr>2012-05-03 15:27:01 +0200
commite84f79f05113f546810c1908c7baef99fb1e874a (patch)
tree4cb5f3e428caa894bd9acc06fc3cd6250b018715 /django/utils/hashcompat.py
parent227cec686e512412f613c3d14743b85445765d92 (diff)
Fixed #18042 -- Advanced deprecation warnings.
Thanks Ramiro for the patch.
Diffstat (limited to 'django/utils/hashcompat.py')
-rw-r--r--django/utils/hashcompat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/hashcompat.py b/django/utils/hashcompat.py
index b11fa0a686..62b1dfd12b 100644
--- a/django/utils/hashcompat.py
+++ b/django/utils/hashcompat.py
@@ -6,7 +6,7 @@ interface to the md5 and sha constructors, depending on system version.
import warnings
warnings.warn("django.utils.hashcompat is deprecated; use hashlib instead",
- PendingDeprecationWarning)
+ DeprecationWarning)
import hashlib
md5_constructor = hashlib.md5