提交 f409661e 编写于 作者: E Eric Blake

maint: fix grammar in error message

* python/tests/create.py: Use correct wording.
上级 b3ff07a0
...@@ -40,13 +40,13 @@ elif kernelOv.find('xen0'): ...@@ -40,13 +40,13 @@ elif kernelOv.find('xen0'):
initrdU = "/boot/initrd-" + kernelOv.replace('xen0', 'xenU') + ".img" initrdU = "/boot/initrd-" + kernelOv.replace('xen0', 'xenU') + ".img"
if not os.access(kernelU, os.R_OK): if not os.access(kernelU, os.R_OK):
print "Did not found the guest kernel %s" % (kernelU) print "Did not find the guest kernel %s" % (kernelU)
sys.exit(1) sys.exit(1)
kernelU = "<kernel>" + kernelU + "</kernel>" kernelU = "<kernel>" + kernelU + "</kernel>"
if not os.access(initrdU, os.R_OK): if not os.access(initrdU, os.R_OK):
print "Did not found the guest initrd %s" % (initrdU) print "Did not find the guest initrd %s" % (initrdU)
initrdU = "" initrdU = ""
else: else:
initrdU = "<initrd>" + initrdU + "</initrd>" initrdU = "<initrd>" + initrdU + "</initrd>"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册