mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
Fix xm create -F. This can't be very widely used, because it looks like it's
been broken for ages! Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
1 parent
26f067672a
commit
bc93f293ac
1 file changed
+3
@@ -1169,6 +1169,9 @@ def main(argv):
|
||||
if not opts:
|
||||
return
|
||||
|
||||
if type(config) == str:
|
||||
config = sxp.parse(file(config))[0]
|
||||
|
||||
if opts.vals.dryrun:
|
||||
PrettyPrint.prettyprint(config)
|
||||
else:
|
||||
|
||||