Commit 067d927b authored by Michael Hanselmann's avatar Michael Hanselmann Committed by Iustin Pop
Browse files

Fix pylint complaints introduced in commit e58f87a9

Due to a small mistake I missed three non-critical pylint complaints for
commit e58f87a9

. They're fixed with this patch.
Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent e3ed5316
......@@ -9920,6 +9920,8 @@ class LUTestJobqueue(NoHooksLU):
# Wait for client to close
try:
try:
# pylint: disable-msg=E1101
# Instance of '_socketobject' has no ... member
conn.settimeout(cls._CLIENT_CONFIRM_TIMEOUT)
conn.recv(1)
except socket.error, err:
......
......@@ -272,7 +272,7 @@ def TestJobqueue(opts, _):
reporter = _JobQueueTestReporter()
try:
SubmitOpCode(op, reporter=reporter, opts=opts)
except errors.OpExecError, err:
except errors.OpExecError:
if not fail:
raise
# Ignore error
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment