Merge pull request #47730 from rallytime/bp-47700

Back-port #47700 to 2018.3.1
This commit is contained in:
Nicole Thomas 2018-05-21 11:36:15 -04:00 committed by GitHub
commit cfbe0ba73e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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