mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #47730 from rallytime/bp-47700
Back-port #47700 to 2018.3.1
This commit is contained in:
commit
cfbe0ba73e
1 changed files with 1 additions and 1 deletions
|
@ -253,7 +253,7 @@ def file_hash(load, fnd):
|
|||
except OSError:
|
||||
pass
|
||||
return file_hash(load, fnd)
|
||||
if os.path.getmtime(path) == mtime:
|
||||
if str(os.path.getmtime(path)) == mtime:
|
||||
# check if mtime changed
|
||||
ret['hsum'] = hsum
|
||||
return ret
|
||||
|
|
Loading…
Add table
Reference in a new issue