Skip to content

Commit

Permalink
Make the buildslave exit if it can't login
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris AtLee committed Aug 20, 2010
1 parent f28c212 commit 12451e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion slave/buildslave/pbutil.py
Expand Up @@ -5,7 +5,7 @@
from twisted.spread import pb

from twisted.spread.pb import PBClientFactory
from twisted.internet import protocol
from twisted.internet import protocol, reactor
from twisted.python import log

class ReconnectingPBClientFactory(PBClientFactory,
Expand Down Expand Up @@ -96,3 +96,4 @@ def failedToGetPerspective(self, why):
# probably authorization
self.stopTrying() # logging in harder won't help
log.err(why)
reactor.stop()

0 comments on commit 12451e3

Please sign in to comment.