diff options
| author | Jenkins <jenkins@review.openstack.org> | 2013-04-22 22:50:55 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2013-04-22 22:50:55 +0000 |
| commit | bfc3a3ccb2811cc8a96a15987528e6639ec029bf (patch) | |
| tree | 412fdf512ad3c2a843df9a11c3e510a5023bad60 | |
| parent | 8fcd4141816fdcec6bea94aa6190ec065c6cbd9f (diff) | |
| parent | de57220c8da35af9931ed24f7ae302cd06a00962 (diff) | |
| download | nova-bfc3a3ccb2811cc8a96a15987528e6639ec029bf.tar.gz nova-bfc3a3ccb2811cc8a96a15987528e6639ec029bf.tar.xz nova-bfc3a3ccb2811cc8a96a15987528e6639ec029bf.zip | |
Merge "Fix hyperv copy file error logged incorrect"
| -rw-r--r-- | nova/virt/hyperv/pathutils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/virt/hyperv/pathutils.py b/nova/virt/hyperv/pathutils.py index 6c57b8f82..6e54bf4c8 100644 --- a/nova/virt/hyperv/pathutils.py +++ b/nova/virt/hyperv/pathutils.py @@ -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) |
