Linting python scripts
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
This commit is contained in:
parent
5e0ad1134d
commit
f513e7cbcd
29 changed files with 17 additions and 43 deletions
|
@ -212,7 +212,7 @@ def handle_client(client_reader, client_writer):
|
|||
|
||||
except OSError:
|
||||
log.info("Client closed connection")
|
||||
except ConnectionResetError as err:
|
||||
except ConnectionResetError:
|
||||
log.exception("ERROR: ConnectionResetError in handle_client")
|
||||
except Exception as err:
|
||||
log.exception("ERROR: Exception in handle_client")
|
||||
|
@ -274,7 +274,7 @@ def main():
|
|||
loop.run_forever()
|
||||
except KeyboardInterrupt:
|
||||
pass
|
||||
except ConnectionResetError as err:
|
||||
except ConnectionResetError:
|
||||
log.exception("ERROR: ConnectionResetError in main")
|
||||
except Exception:
|
||||
log.exception("ERROR: Exception in main")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue