mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Appease pylint
This commit is contained in:
parent
61b90bc4bf
commit
160dcc4ca0
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
@ -522,7 +522,7 @@ class Sdist(sdist):
|
|||
self.run_command('write_salt_ssh_packaging_file')
|
||||
self.filelist.files.append(os.path.basename(PACKAGED_FOR_SALT_SSH_FILE))
|
||||
|
||||
if not IS_PY3 and isinstance(base_dir, unicode): # pylint: disable=incompatible-py3-code
|
||||
if not IS_PY3 and not isinstance(base_dir, str):
|
||||
# Work around some bad code in distutils which logs unicode paths
|
||||
# against a str format string.
|
||||
base_dir = base_dir.encode('utf-8')
|
||||
|
|
Loading…
Add table
Reference in a new issue