Alon Bar-Lev has uploaded a new change for review. Change subject: vdsm: bridge: use \d in re ......................................................................
vdsm: bridge: use \d in re Change-Id: Ic327281feb8368c3fe42c6eb6013cc5aff151ad4 Signed-off-by: Alon Bar-Lev <[email protected]> --- M src/plugins/ovirt-host-deploy/vdsm/bridge.py 1 file changed, 6 insertions(+), 6 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-host-deploy refs/changes/21/12121/1 diff --git a/src/plugins/ovirt-host-deploy/vdsm/bridge.py b/src/plugins/ovirt-host-deploy/vdsm/bridge.py index 4b099af..f464f63 100644 --- a/src/plugins/ovirt-host-deploy/vdsm/bridge.py +++ b/src/plugins/ovirt-host-deploy/vdsm/bridge.py @@ -69,7 +69,7 @@ \s+ (inet|inet6) \s+ - ([0-9a-f.:]+)/[0-9]+ + ([\da-f.:]+)/\d+ .* scope \s+ @@ -97,12 +97,12 @@ pattern=r""" ^ ((local)\s+|) - ([0-9a-f.:]+) + ([\da-f.:]+) \s+ ( via \s+ - ([0-9a-f.:]+) + ([\da-f.:]+) \s+ | ) @@ -112,7 +112,7 @@ \s+ src \s+ - ([0-9a-f.:]+) + ([\da-f.:]+) """ ) ( @@ -157,9 +157,9 @@ pattern=r""" IP4\.ADDRESS\[1\]: \s+ - ip\s*=\s*([0-9.]+)/([0-9]+), + ip\s*=\s*([\d.]+)/(\d+), \s* - gw\s*=\s*([0-9.]+) + gw\s*=\s*([\d.]+) """ ) ( -- To view, visit http://gerrit.ovirt.org/12121 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ic327281feb8368c3fe42c6eb6013cc5aff151ad4 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-host-deploy Gerrit-Branch: master Gerrit-Owner: Alon Bar-Lev <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
