node: enable Tub.logLocalFailures now that we require foolscap-0.1.2

This commit is contained in:
Brian Warner 2007-04-06 20:55:59 -07:00
parent 245d318409
commit 5b0ece6ece

View File

@ -30,9 +30,8 @@ class Node(service.MultiService):
f = open(certfile, "wb")
f.write(self.tub.getCertData())
f.close()
if False: # TODO: once foolscap-0.1.1 is released, enable this
self.tub.setOption("logLocalFailures", True)
self.tub.setOption("logRemoteFailures", True)
self.tub.setOption("logLocalFailures", True)
self.tub.setOption("logRemoteFailures", True)
self.nodeid = idlib.a2b(self.tub.tubID)
f = open(os.path.join(self.basedir, self.NODEIDFILE), "w")
f.write(idlib.b2a(self.nodeid) + "\n")