Fixed syntax error in iopif patch.

Signed-off-by: James Bulpin <james@xensource.com>
This commit is contained in:
jbulpin@wicket.uk.xensource.com committed 2005-11-07 13:04:27 +01:00
1 parent 5cfdd9c126
commit 0e2ea3b8b4
1 file changed
+1 -1
+1 -1
View File
@@ -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])
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.