Change nova/virt/images.py's _fetch_local_image to accept 4 args, since fetch() tries to call it with that many.

This commit is contained in:
Chris Behrens 2010-08-07 00:17:02 +00:00 committed by Tarmac
commit c0c2f5851a

View File

@ -65,7 +65,7 @@ def _fetch_s3_image(image, path, user, project):
cmd += ['-o', path]
return process.SharedPool().execute(executable=cmd[0], args=cmd[1:])
def _fetch_local_image(image, path, _):
def _fetch_local_image(image, path, user, project):
source = _image_path('%s/image' % image)
return process.simple_execute('cp %s %s' % (source, path))