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

pull/75422/head
Brian Coca 4 years ago committed by GitHub
parent b541a148d5
commit 75e6bdb579
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.

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

Loading…
Cancel
Save