Applied pylint-amnesty to util

This commit is contained in:
Jawayria
2021-02-02 14:59:19 +05:00
parent 712a6bcc0c
commit b1ecfc2252
25 changed files with 107 additions and 107 deletions

View File

@@ -41,7 +41,7 @@ def decompress_string(value):
zfile = gzip.GzipFile(fileobj=zbuf)
ret = zfile.read()
zfile.close()
except Exception as e:
except Exception as e: # lint-amnesty, pylint: disable=broad-except
logger.error('String decompression failed. There may be corrupted data in the database: %s', e)
ret = value
return ret