* Use pymemcache rather than other clients. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cachy?expand=0&rev=7
20 lines
541 B
Diff
20 lines
541 B
Diff
Index: cachy-0.3.0/cachy/stores/memcached_store.py
|
|
===================================================================
|
|
--- cachy-0.3.0.orig/cachy/stores/memcached_store.py
|
|
+++ cachy-0.3.0/cachy/stores/memcached_store.py
|
|
@@ -1,12 +1,9 @@
|
|
# -*- coding: utf-8 -*-
|
|
|
|
try:
|
|
- from pylibmc import memcache
|
|
+ from pymemcache.client import base as memcache
|
|
except ImportError:
|
|
- try:
|
|
- import memcache
|
|
- except ImportError:
|
|
- memcache = None
|
|
+ memcache = None
|
|
|
|
from ..contracts.taggable_store import TaggableStore
|
|
|