X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Flibraries%2FBgpRpcClient.py;h=4a1ba83bd8c21bd0cee833bc9d29706b3a39bc89;hb=c48764ff24af67a20cd01f658cc12849d6448bd0;hp=fb2b6fe75f7610774a72e0d0c041fb59313cbd73;hpb=1c106006ffb33c1c60e2f8abe61e88a7bd95a7bd;p=integration%2Ftest.git diff --git a/csit/libraries/BgpRpcClient.py b/csit/libraries/BgpRpcClient.py index fb2b6fe75f..4a1ba83bd8 100644 --- a/csit/libraries/BgpRpcClient.py +++ b/csit/libraries/BgpRpcClient.py @@ -101,5 +101,5 @@ class BgpRpcClient(object): """Verifies two hex messages are equal even in case, their arguments are misplaced. Converts hex message arguments to integers and sums them up and returns the sum.""" return sum( - [int(x, 16) for x in re.compile("[a-f\d]{2}").findall(hex_string[32:])] + [int(x, 16) for x in re.compile(r"[a-f\d]{2}").findall(hex_string[32:])] )