ia64/xen-unstable

changeset 7653:d1b5ad8e8b03

Fixed syntax error in iopif patch.

Signed-off-by: James Bulpin <james@xensource.com>
author jbulpin@wicket.uk.xensource.com
date Mon Nov 07 13:04:27 2005 +0100 (2005-11-07)
parents a4bd444c5424
children a05e55c919c1
files tools/python/xen/xm/create.py
line diff
     1.1 --- a/tools/python/xen/xm/create.py	Mon Nov 07 12:53:38 2005 +0100
     1.2 +++ b/tools/python/xen/xm/create.py	Mon Nov 07 13:04:27 2005 +0100
     1.3 @@ -643,7 +643,7 @@ def preprocess_ioports(vals):
     1.4      ioports = []
     1.5      for v in vals.ioports:
     1.6          d = v.split('-')
     1.7 -        if len(d) < 1 || len(d) > 2:
     1.8 +        if len(d) < 1 or len(d) > 2:
     1.9              err('Invalid i/o port range specifier: ' + v)
    1.10          if len(d) == 1:
    1.11              d.append(d[0])