Fix hyperv copy file error logged incorrect
This patch just fix hyperv copy file error message incorrect, missing src and dest value. Fixes bug #1170580 Change-Id: I309fd67b3f491c9be872ff9cdd58f6364a26a96b
This commit is contained in:
@@ -68,7 +68,8 @@ class PathUtils(object):
|
||||
# It can be replaced with Win32 API calls to avoid the process
|
||||
# spawning overhead.
|
||||
if subprocess.call(['cmd.exe', '/C', 'copy', '/Y', src, dest]):
|
||||
raise IOError(_('The file copy from %(src)s to %(dest)s failed'))
|
||||
raise IOError(_('The file copy from %(src)s to %(dest)s failed')
|
||||
% locals())
|
||||
|
||||
def rmtree(self, path):
|
||||
shutil.rmtree(path)
|
||||
|
||||
Reference in New Issue
Block a user