mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Disabled pylint warning
I believe the pylint warning to be a false positive, so I disabled it and added a comment explaining why. Signed-off-by: Sergey Kizunov <sergey.kizunov@ni.com>
This commit is contained in:
parent
ef7f3ed597
commit
d234c8627a
@ -533,7 +533,9 @@ class MinionBase(object):
|
||||
msg = ('No master could be reached or all masters '
|
||||
'denied the minions connection attempt.')
|
||||
log.error(msg)
|
||||
raise last_exc
|
||||
# If the code reaches this point, 'last_exc'
|
||||
# should already be set.
|
||||
raise last_exc # pylint: disable=E0702
|
||||
else:
|
||||
self.tok = pub_channel.auth.gen_token('salt')
|
||||
self.connected = True
|
||||
|
Loading…
Reference in New Issue
Block a user