mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-18 18:56:28 +00:00
make it print out version numbers when it constructs a Node instance
This commit is contained in:
parent
665b188af2
commit
a70a599249
@ -6,6 +6,11 @@ from twisted.internet import defer
|
||||
from foolscap import Tub
|
||||
from allmydata.util import idlib, observer, iputil
|
||||
|
||||
# Just to get their versions:
|
||||
import allmydata
|
||||
import zfec
|
||||
import foolscap
|
||||
|
||||
class Node(service.MultiService):
|
||||
# this implements common functionality of both Client nodes and the Queen
|
||||
# node.
|
||||
@ -58,6 +63,8 @@ class Node(service.MultiService):
|
||||
m.setServiceParent(self)
|
||||
self.log("AuthorizedKeysManhole listening on %d" % portnum)
|
||||
|
||||
self.log("Node constructed. tahoe version: %s, foolscap version: %s, zfec version: %s" % (allmydata.__version__, foolscap.__version__, zfec.__version__,))
|
||||
|
||||
def startService(self):
|
||||
"""Start the node. Returns a Deferred that fires (with self) when it
|
||||
is ready to go.
|
||||
|
Loading…
Reference in New Issue
Block a user