Skip to content
Snippets Groups Projects
Commit c0d2cac0 authored by Bert Vandenbroucke's avatar Bert Vandenbroucke
Browse files

Implemented safer minus sign trimming in check_mpireports and match_mpireports...

Implemented safer minus sign trimming in check_mpireports and match_mpireports to correctly deal with size 0 messages.
parent d615de72
No related branches found
No related tags found
1 merge request!1434Update mpireports scripts to deal with size 0 messages
...@@ -105,7 +105,7 @@ for f in infiles: ...@@ -105,7 +105,7 @@ for f in infiles:
+ "/" + "/"
+ words[tagcol] + words[tagcol]
+ "/" + "/"
+ words[sizecol][1:] + words[sizecol].replace("-", "")
) )
if words[typecol] == "send": if words[typecol] == "send":
esends[key] = [line[:-1]] esends[key] = [line[:-1]]
......
...@@ -102,7 +102,7 @@ for f in infiles: ...@@ -102,7 +102,7 @@ for f in infiles:
+ "/" + "/"
+ words[tagcol] + words[tagcol]
+ "/" + "/"
+ words[sizecol][1:] + words[sizecol].replace("-", "")
) )
if not key in recvs: if not key in recvs:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment