Merge pull request #38278 from rallytime/bp-38207

Back-port #38207 to 2016.11
This commit is contained in:
Mike Place 2016-12-15 11:09:27 -07:00 committed by GitHub
commit 2ccab22c19

View File

@ -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 = 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'],