Updated code quality binary operator warning changes in helper_msgcoding.py

This commit is contained in:
kuldeep.k@cisinlabs.com 2021-08-18 21:45:45 +05:30
parent ef01b56291
commit b993446160
No known key found for this signature in database
GPG Key ID: AF4FB299BF7C7C2A

View File

@ -103,8 +103,8 @@ class MsgDecode(object):
while len(tmp) <= BMConfigParser().safeGetInt("zlib", "maxsize"): while len(tmp) <= BMConfigParser().safeGetInt("zlib", "maxsize"):
try: try:
got = dc.decompress( got = dc.decompress(
data, BMConfigParser().safeGetInt("zlib", "maxsize") + data, BMConfigParser().safeGetInt("zlib", "maxsize")
1 - len(tmp)) + 1 - len(tmp))
# EOF # EOF
if got == "": if got == "":
break break