ia64/xen-unstable

changeset 19820:3c7536d6b583

xend: Fix python syntax error

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Jun 23 17:27:01 2009 +0100 (2009-06-23)
parents c1bdfb5c3c5c
children 442fb5f1e0a2
files tools/python/xen/xm/create.py
line diff
     1.1 --- a/tools/python/xen/xm/create.py	Tue Jun 23 17:26:28 2009 +0100
     1.2 +++ b/tools/python/xen/xm/create.py	Tue Jun 23 17:27:01 2009 +0100
     1.3 @@ -660,7 +660,7 @@ def configure_image(vals):
     1.4              # This allows guest migration to a Dom0 having different
     1.5              # xen install pathes.
     1.6              config_image.append([ 'kernel', vals.kernel ])
     1.7 -        elif os.path.exists(os.path.abspath(vals.kernel))
     1.8 +        elif os.path.exists(os.path.abspath(vals.kernel)):
     1.9              # Keep old behaviour, if path is valid.
    1.10              config_image.append([ 'kernel', os.path.abspath(vals.kernel) ])
    1.11          else: