Author: russellm
Date: 2011-04-02 06:46:09 -0700 (Sat, 02 Apr 2011)
New Revision: 16001

Modified:
   django/trunk/django/core/cache/backends/memcached.py
Log:
Added missing warnings import

Modified: django/trunk/django/core/cache/backends/memcached.py
===================================================================
--- django/trunk/django/core/cache/backends/memcached.py        2011-04-02 
13:27:40 UTC (rev 16000)
+++ django/trunk/django/core/cache/backends/memcached.py        2011-04-02 
13:46:09 UTC (rev 16001)
@@ -128,6 +128,7 @@
 
 class CacheClass(BaseMemcachedCache):
     def __init__(self, server, params):
+        import warnings
         warnings.warn(
             "memcached.CacheClass has been split into memcached.MemcachedCache 
and memcached.PyLibMCCache. Please update your cache backend setting.",
             PendingDeprecationWarning

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to