direct-io.hg

changeset 11428:4fc1688d9a16

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>
author Ewan Mellor <ewan@xensource.com>
date Tue Sep 05 17:26:20 2006 +0100 (2006-09-05)
parents f7368ad7c795
children 66dd34f2f439
files tools/python/xen/xm/create.py
line diff
     1.1 --- a/tools/python/xen/xm/create.py	Tue Sep 05 17:26:18 2006 +0100
     1.2 +++ b/tools/python/xen/xm/create.py	Tue Sep 05 17:26:20 2006 +0100
     1.3 @@ -1169,6 +1169,9 @@ def main(argv):
     1.4      if not opts:
     1.5          return
     1.6  
     1.7 +    if type(config) == str:
     1.8 +            config = sxp.parse(file(config))[0]
     1.9 +
    1.10      if opts.vals.dryrun:
    1.11          PrettyPrint.prettyprint(config)
    1.12      else: