[node-patches] Change in ovirt-node[master]: ovirt-node-config: fix IndexError: list index out of range f...
hadong0720 at gmail.com
hadong0720 at gmail.com
Sat Jul 12 10:38:55 UTC 2014
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 <hadong at redhat.com>
---
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 <hadong0720 at gmail.com>
More information about the node-patches
mailing list