mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 16:45:27 +00:00
python3 compatibility and fix pylint
This commit is contained in:
parent
e0df047000
commit
5e8bf571d8
@ -688,7 +688,7 @@ def push(path, keep_symlinks=False, upload_path=None, remove_source=False):
|
||||
load_path_split_drive = os.path.splitdrive(load_path_normal)[1]
|
||||
|
||||
# Finally, split the remaining path into a list for delivery to the master
|
||||
load_path_list = filter(None, load_path_split_drive.split(os.sep))
|
||||
load_path_list = [_f for _f in load_path_split_drive.split(os.sep) if _f]
|
||||
|
||||
load = {'cmd': '_file_recv',
|
||||
'id': __opts__['id'],
|
||||
|
Loading…
Reference in New Issue
Block a user