Skip to content
Snippets Groups Projects
Commit 881d1f04 authored by Sébastien Helleu's avatar Sébastien Helleu
Browse files

Disable two pylint errors

parent 99ace66d
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -99,7 +99,7 @@ class Client(object): # pylint: disable=too-many-instance-attributes
try:
while not self.quit:
self.flood()
except Exception as exc:
except Exception as exc: # pylint: disable=broad-except
if self.quit:
self.endmsg = 'quit received'
else:
Loading
Loading
@@ -340,7 +340,7 @@ class Client(object): # pylint: disable=too-many-instance-attributes
self.endmsg = 'unable to read file {0}'.format(self.args.file)
self.endexcept = exc
return
except Exception as exc:
except Exception as exc: # pylint: disable=broad-except
traceback.print_exc()
self.endmsg = 'connection lost'
return
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment