mirror of
https://github.com/ansible/awx.git
synced 2026-07-04 21:10:09 -02:30
flake8: comply with new E722 rule
This commit is contained in:
committed by
Ryan Petrello
parent
7538b4ce15
commit
67867cf0c8
@@ -152,7 +152,7 @@ class BaseHandler(logging.Handler):
|
||||
return self._format_and_send_record(record)
|
||||
except (KeyboardInterrupt, SystemExit):
|
||||
raise
|
||||
except:
|
||||
except Exception:
|
||||
self.handleError(record)
|
||||
|
||||
def _get_host(self, scheme='', hostname_only=False):
|
||||
|
||||
Reference in New Issue
Block a user