mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
pylint fix
This commit is contained in:
parent
5539eff39e
commit
3c8f5f5b3d
1 changed files with 1 additions and 1 deletions
|
@ -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']
|
||||
|
|
Loading…
Add table
Reference in a new issue