diff options
author | ChangBo Guo(gcb) <eric.guo@easystack.cn> | 2016-02-29 12:26:43 +0800 |
---|---|---|
committer | ChangBo Guo(gcb) <eric.guo@easystack.cn> | 2016-03-03 11:30:00 +0800 |
commit | f776ba27571ae3475e25a347042cb69bed45ceb8 (patch) | |
tree | 0d293b977d9c1101b576ab2462f03c8deee31e23 /osprofiler/_utils.py | |
parent | 54d58a77583468b51e6843cd1b3d6ef730da44f4 (diff) | |
download | osprofiler-f776ba27571ae3475e25a347042cb69bed45ceb8.tar.gz |
Enable bandit in gate
Bandit is a tool designed to find common security issues in Python code.
and pep8 is the usual linter target. So enable it in pep8 target.
Change-Id: Ie5e4350cde906c206fd5041e88983678eb37999e
Diffstat (limited to 'osprofiler/_utils.py')
-rw-r--r-- | osprofiler/_utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/osprofiler/_utils.py b/osprofiler/_utils.py index 4f839b6..82e3977 100644 --- a/osprofiler/_utils.py +++ b/osprofiler/_utils.py @@ -128,7 +128,7 @@ def signed_unpack(data, hmac_data, hmac_keys): for hmac_key in hmac_keys: try: user_hmac_data = generate_hmac(data, hmac_key) - except Exception: + except Exception: # nosec pass else: if compare_digest(hmac_data, user_hmac_data): |