Commits

brianfrantz committed 5ee3ef6

Remove print statements

Comments (0)

Files changed (1)

dogpile/cache/backends/memcached.py

                 return False
             else:
                 sleep_time = 1 + (2*random.random())  # Sleep for 1-3 seconds
-                print "------------ CACHE LOCK SLEEP %s" % sleep_time
                 time.sleep(sleep_time)
-        print "------------ CACHE LOCK GIVING UP ON WAITING"
         return False
 
     def release(self):
             if client.delete(self.key):
                 return
             sleep_time = 2*random.random()  # Sleep for 0-2 seconds
-            print "------------ CACHE LOCK DELETE %s FAILED.  SLEEP %s" % (i, sleep_time)
             time.sleep(sleep_time)
-        print "------------ CACHE LOCK DELETE FAILED EVEN AFTER RETRIES"
 
 class GenericMemcachedBackend(CacheBackend):
     """Base class for memcached backends.