mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Use print function
This commit is contained in:
2
v2/ansible/plugins/cache/memcached.py
vendored
2
v2/ansible/plugins/cache/memcached.py
vendored
@@ -30,7 +30,7 @@ from ansible.plugins.cache.base import BaseCacheModule
|
||||
try:
|
||||
import memcache
|
||||
except ImportError:
|
||||
print 'python-memcached is required for the memcached fact cache'
|
||||
print('python-memcached is required for the memcached fact cache')
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
|
||||
2
v2/ansible/plugins/cache/redis.py
vendored
2
v2/ansible/plugins/cache/redis.py
vendored
@@ -28,7 +28,7 @@ from ansible.plugins.cache.base import BaseCacheModule
|
||||
try:
|
||||
from redis import StrictRedis
|
||||
except ImportError:
|
||||
print "The 'redis' python module is required, 'pip install redis'"
|
||||
print("The 'redis' python module is required, 'pip install redis'")
|
||||
sys.exit(1)
|
||||
|
||||
class CacheModule(BaseCacheModule):
|
||||
|
||||
Reference in New Issue
Block a user