1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fixed import typo for memcache module in tests.

The typo caused the test for the memcached cache plugin to be skipped
even when the necessary memcache python module was installed.
This commit is contained in:
Matt Clay 2015-12-19 00:08:49 -08:00
parent fcc9258b74
commit d2ad17e88f

View file

@ -26,7 +26,7 @@ from ansible.plugins.cache.memory import CacheModule as MemoryCache
HAVE_MEMCACHED = True HAVE_MEMCACHED = True
try: try:
import memcached import memcache
except ImportError: except ImportError:
HAVE_MEMCACHED = False HAVE_MEMCACHED = False
else: else: