hadong has uploaded a new change for review.

Change subject: ovirt-node-config: fix IndexError: list index out of range for 
"h" parameter
......................................................................

ovirt-node-config: fix IndexError: list index out of range for "h" parameter

Change-Id: I52118b975bf7ca6a36a14d297ae5bbe6fecfdb56
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1118962
Signed-off-by: hadong <[email protected]>
---
M scripts/ovirt-node-config
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/78/29978/1

diff --git a/scripts/ovirt-node-config b/scripts/ovirt-node-config
index b58b037..7ff70e2 100755
--- a/scripts/ovirt-node-config
+++ b/scripts/ovirt-node-config
@@ -82,7 +82,7 @@
 
     (options, args) = parser.parse_args()
 
-    if not len(args):
+    if len(args) <= 1:
         more_usage()
         raise SystemExit(1)
 


-- 
To view, visit http://gerrit.ovirt.org/29978
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I52118b975bf7ca6a36a14d297ae5bbe6fecfdb56
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: hadong <[email protected]>
_______________________________________________
node-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/node-patches

Reply via email to