[Checkins] SVN: relstorage/trunk/relstorage/pylibmc_wrapper.py added the required flush_all method

Shane Hathaway shane at hathawaymix.org
Wed Oct 14 05:04:48 EDT 2009


Log message for revision 105063:
  added the required flush_all method

Changed:
  U   relstorage/trunk/relstorage/pylibmc_wrapper.py

-=-
Modified: relstorage/trunk/relstorage/pylibmc_wrapper.py
===================================================================
--- relstorage/trunk/relstorage/pylibmc_wrapper.py	2009-10-14 08:57:25 UTC (rev 105062)
+++ relstorage/trunk/relstorage/pylibmc_wrapper.py	2009-10-14 09:04:47 UTC (rev 105063)
@@ -76,3 +76,10 @@
             return self._client.incr(key)
         except MemcachedError:
             return None
+
+    def flush_all(self):
+        try:
+            self._client.flush_all()
+        except MemcachedError:
+            return None
+



More information about the checkins mailing list