You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by mm...@apache.org on 2022/02/18 18:37:50 UTC

[geode-native] branch develop updated: GEODE-10065: Add missing colon in regexp (#926)

This is an automated email from the ASF dual-hosted git repository.

mmartell pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-native.git


The following commit(s) were added to refs/heads/develop by this push:
     new 06413ef  GEODE-10065: Add missing colon in regexp (#926)
06413ef is described below

commit 06413ef0cfb07e27f55007770496aba0ed418802
Author: Michael Martell <mm...@pivotal.io>
AuthorDate: Fri Feb 18 10:36:55 2022 -0800

    GEODE-10065: Add missing colon in regexp (#926)
---
 tools/gnmsg/handshake_decoder.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/gnmsg/handshake_decoder.py b/tools/gnmsg/handshake_decoder.py
index 9450bbb..8e7c1d3 100644
--- a/tools/gnmsg/handshake_decoder.py
+++ b/tools/gnmsg/handshake_decoder.py
@@ -48,7 +48,7 @@ class HandshakeDecoder(DecoderBase):
         }
 
     def is_handshake_trace(self, line):
-        expression = re.compile(r"Handshake bytes \(\d+\):\s*([0-9|a-f|A-F]+)")
+        expression = re.compile(r"Handshake bytes: \(\d+\):\s*([0-9|a-f|A-F]+)")
         match = expression.search(line)
         if match:
             return True
@@ -56,7 +56,7 @@ class HandshakeDecoder(DecoderBase):
             return False
 
     def get_handshake_bytes(self, line):
-        expression = re.compile(r"Handshake bytes \(\d+\):\s*([0-9|a-f|A-F]+)")
+        expression = re.compile(r"Handshake bytes: \(\d+\):\s*([0-9|a-f|A-F]+)")
         match = expression.search(line)
         if match:
             return match.group(1)