Merge pull request #39462 from twangboy/win_fix_fileclient

Use url_path instead of url_data.path
This commit is contained in:
Mike Place 2017-02-16 15:44:18 -07:00 committed by GitHub
commit 63adc03484

View file

@ -477,7 +477,7 @@ class Client(object):
'Path \'{0}\' is not absolute'.format(url_path)
)
if dest is None:
with salt.utils.fopen(url_data.path, 'r') as fp_:
with salt.utils.fopen(url_path, 'r') as fp_:
data = fp_.read()
return data
return url_path