From e84f79f05113f546810c1908c7baef99fb1e874a Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Thu, 3 May 2012 15:27:01 +0200 Subject: Fixed #18042 -- Advanced deprecation warnings. Thanks Ramiro for the patch. --- django/utils/hashcompat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'django/utils/hashcompat.py') 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 -- cgit v1.3