Fix PEP 8 issue.
This commit is contained in:
parent
6f426b9d06
commit
0b250016b0
1 changed files with 2 additions and 1 deletions
3
lib/ansible/plugins/cache/base.py
vendored
3
lib/ansible/plugins/cache/base.py
vendored
|
@ -95,7 +95,8 @@ class BaseFileCacheModule(BaseCacheModule):
|
||||||
else:
|
else:
|
||||||
for x in (os.R_OK, os.W_OK, os.X_OK):
|
for x in (os.R_OK, os.W_OK, os.X_OK):
|
||||||
if not os.access(self._cache_dir, x):
|
if not os.access(self._cache_dir, x):
|
||||||
raise AnsibleError("error in '%s' cache, configured path (%s) does not have necessary permissions (rwx), disabling plugin" % (self.plugin_name, self._cache_dir))
|
raise AnsibleError("error in '%s' cache, configured path (%s) does not have necessary permissions (rwx), disabling plugin" % (
|
||||||
|
self.plugin_name, self._cache_dir))
|
||||||
|
|
||||||
def get(self, key):
|
def get(self, key):
|
||||||
""" This checks the in memory cache first as the fact was not expired at 'gather time'
|
""" This checks the in memory cache first as the fact was not expired at 'gather time'
|
||||||
|
|
Loading…
Reference in a new issue