diff --git a/salt/minion.py b/salt/minion.py
index <HASH>..<HASH> 100644
--- a/salt/minion.py
+++ b/salt/minion.py
@@ -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
Disabled pylint warning

I believe the pylint warning to be a false positive, so I disabled it
and added a comment explaining why.