You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ch...@apache.org on 2019/03/26 19:43:10 UTC
[qpid-dispatch] branch master updated: DISPATCH-1306: accomodate
new logfile connection number format
This is an automated email from the ASF dual-hosted git repository.
chug pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git
The following commit(s) were added to refs/heads/master by this push:
new 004fa47 DISPATCH-1306: accomodate new logfile connection number format
004fa47 is described below
commit 004fa473843d7f4366d8b62cab88aa0d5117b5c8
Author: Chuck Rolke <ch...@apache.org>
AuthorDate: Tue Mar 26 15:42:10 2019 -0400
DISPATCH-1306: accomodate new logfile connection number format
---
tools/scraper/parser.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/scraper/parser.py b/tools/scraper/parser.py
index f4834c0..7a6992d 100755
--- a/tools/scraper/parser.py
+++ b/tools/scraper/parser.py
@@ -844,6 +844,8 @@ class ParsedLogLine(object):
print("Failed to parse line ", _lineno, " : ", _line)
raise ValueError("'%s' not found in line %s" % ("]", self.line))
self.data.conn_num = self.line[:ste]
+ if self.data.conn_num.startswith("C"):
+ self.data.conn_num = self.data.conn_num[1:]
self.line = self.line[ste + 1:]
# create decorated connection id
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org