Merge PR412

This commit is contained in:
Brian Warner 2017-04-10 11:59:12 -07:00
commit bf0149f7d7

View File

@ -350,11 +350,12 @@ def create_node(config):
write_client_config(c, config)
print >>out, "Node created in %s" % quote_local_unicode_path(basedir)
tahoe_cfg = quote_local_unicode_path(os.path.join(basedir, "tahoe.cfg"))
if not config.get("introducer", ""):
print >>out, " Please set [client]introducer.furl= in tahoe.cfg!"
print >>out, " Please set [client]introducer.furl= in %s!" % tahoe_cfg
print >>out, " The node cannot connect to a grid without it."
if not config.get("nickname", ""):
print >>out, " Please set [node]nickname= in tahoe.cfg"
print >>out, " Please set [node]nickname= in %s" % tahoe_cfg
defer.returnValue(0)
def create_client(config):