ensure we convert path in warning or py2.6 breaks (#75413) (#75414)

(cherry picked from commit 75e6bdb579)
pull/75425/head
Brian Coca 4 years ago committed by GitHub
parent 2023363b39
commit bb993dc877
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,2 @@
bugfixes:
- find action, correctly convert path to text when warning about skiping.

@ -493,7 +493,7 @@ def main():
if not params['recurse']:
break
except Exception as e:
warn = "Skipped '%s' path due to this access issue: %s\n" % (npath, to_text(e))
warn = "Skipped '%s' path due to this access issue: %s\n" % (to_text(npath), to_text(e))
module.warn(warn)
msg += warn

Loading…
Cancel
Save