Michael Pasternak has uploaded a new change for review. Change subject: cli: negative numbers wrapped as strings #880216 ......................................................................
cli: negative numbers wrapped as strings #880216 https://bugzilla.redhat.com/show_bug.cgi?id=880216 Change-Id: Ib5ff2aa8a22a0a6059e717214c88f686943e0533 Signed-off-by: Michael Pasternak <mpast...@redhat.com> --- M src/cli/parser.py 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine-cli refs/changes/00/10100/1 diff --git a/src/cli/parser.py b/src/cli/parser.py index 0b7eb69..b855d08 100644 --- a/src/cli/parser.py +++ b/src/cli/parser.py @@ -62,7 +62,7 @@ return t def t_NUMBER(self, t): - r'\d+' + r'[-+]?\d+' t.value = int(t.value) return t -- To view, visit http://gerrit.ovirt.org/10100 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ib5ff2aa8a22a0a6059e717214c88f686943e0533 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine-cli Gerrit-Branch: master Gerrit-Owner: Michael Pasternak <mpast...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches