diff options
author | Simo Sorce <simo@redhat.com> | 2015-11-06 20:34:05 -0500 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2015-11-06 20:52:46 -0500 |
commit | b7ae9722867f1550a94a759c27ba14f470b5dc75 (patch) | |
tree | 7525809b3af7428ef74b85ceb4ecedfd646e30e9 /custodia/httpd/server.py | |
parent | 864ba23a7d7cf19573cc98edc48d7d57c459c70f (diff) | |
download | custodia-b7ae9722867f1550a94a759c27ba14f470b5dc75.tar.gz custodia-b7ae9722867f1550a94a759c27ba14f470b5dc75.tar.xz custodia-b7ae9722867f1550a94a759c27ba14f470b5dc75.zip |
Silence broad-except warnings
Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'custodia/httpd/server.py')
-rw-r--r-- | custodia/httpd/server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/custodia/httpd/server.py b/custodia/httpd/server.py index 4b16edc..47c69ed 100644 --- a/custodia/httpd/server.py +++ b/custodia/httpd/server.py @@ -160,7 +160,7 @@ class HTTPRequestHandler(BaseHTTPRequestHandler): creds = self.request.getsockopt(socket.SOL_SOCKET, SO_PEERSEC, SELINUX_CONTEXT_LEN) context = creds.decode('utf-8') - except Exception: + except Exception: # pylint: disable=broad-except logger.debug("Couldn't retrieve SELinux Context", exc_info=True) context = None |