From b99344616052963630ac55c2f8d4318d2411ecbe Mon Sep 17 00:00:00 2001 From: "kuldeep.k@cisinlabs.com" Date: Wed, 18 Aug 2021 21:45:45 +0530 Subject: [PATCH] Updated code quality binary operator warning changes in helper_msgcoding.py --- src/helper_msgcoding.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/helper_msgcoding.py b/src/helper_msgcoding.py index 76dad423..8c1cfafe 100644 --- a/src/helper_msgcoding.py +++ b/src/helper_msgcoding.py @@ -103,8 +103,8 @@ class MsgDecode(object): while len(tmp) <= BMConfigParser().safeGetInt("zlib", "maxsize"): try: got = dc.decompress( - data, BMConfigParser().safeGetInt("zlib", "maxsize") + - 1 - len(tmp)) + data, BMConfigParser().safeGetInt("zlib", "maxsize") + + 1 - len(tmp)) # EOF if got == "": break