mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
Fixed syntax error in iopif patch.
Signed-off-by: James Bulpin <james@xensource.com>
This commit is contained in:
1 parent
5cfdd9c126
commit
0e2ea3b8b4
1 file changed
+1
-1
@@ -643,7 +643,7 @@ def preprocess_ioports(vals):
|
||||
ioports = []
|
||||
for v in vals.ioports:
|
||||
d = v.split('-')
|
||||
if len(d) < 1 || len(d) > 2:
|
||||
if len(d) < 1 or len(d) > 2:
|
||||
err('Invalid i/o port range specifier: ' + v)
|
||||
if len(d) == 1:
|
||||
d.append(d[0])
|
||||
|
||||