pylint fix

This commit is contained in:
slaws 2018-07-20 22:10:10 +02:00
parent 5539eff39e
commit 3c8f5f5b3d

View file

@ -3738,7 +3738,7 @@ def retention_schedule(name, retain, strptime_format=None, timezone=None):
def get_file_time_from_mtime(f):
if f == '.' or f == '..':
return (None,None)
return (None, None)
lstat = __salt__['file.lstat'](os.path.join(name, f))
if lstat:
mtime = lstat['st_mtime']