Fix xm rmlabel and xm dumppolicy
PATCH 1/1 Fix xm rmlabel and xm dumppolicy
Hi,
I saw the following error messages.
# xm rmlabel file:/xen/xen-test/image/rhel4_1.img Error: Sub Command rmlabel not found!
#xm dumppolicy
Unexpected error: exceptions.ImportError
Please report to [email protected]
Traceback (most recent call last):
File "/usr/sbin/xm", line 10, in ?
main.main(sys.argv)
File "//usr/lib/python/xen/xm/main.py", line 1436, in main
rc = cmd(args)
File "<string>", line 1, in <lambda>
File "//usr/lib/python/xen/xm/main.py", line 745, in xm_importcommand
cmd = __import__(command, globals(), locals(), 'xen.xm')
ImportError: No module named dumppolicyrmlabel
This patch fixes these issues.
Signed-off-by Masaki Kanno <[email protected]>
Best regards,
Kan
tools/python/xen/xm/main.py +1 -1
@@ -1374,7 +1374,7 @@ IMPORTED_COMMANDS = [ 'cfgbootpolicy', 'makepolicy', 'loadpolicy', - 'dumppolicy' + 'dumppolicy', 'rmlabel', 'getlabel', 'dry-run',
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel