remove leftover debug prints

This commit is contained in:
Brian Warner 2016-09-09 17:55:27 -07:00
parent 09ce7963c6
commit 7d3b4149ae
2 changed files with 0 additions and 3 deletions

View File

@ -128,7 +128,6 @@ def write_node_config(c, config):
c.write("web.static = public_html\n")
if 'hostname' in config and config['hostname'] is not None:
print "HOSTNAME"
new_port = iputil.allocate_tcp_port()
c.write("tub.port = tcp:%s\n" % new_port)
c.write("tub.location = tcp:%s:%s\n" % (config.get('hostname').encode('utf-8'), new_port))

View File

@ -373,7 +373,6 @@ class RunNode(common_util.SignalMixin, unittest.TestCase, pollmixin.PollMixin,
errstr = "rc=%d, OUT: '%s', ERR: '%s'" % (rc_or_sig, out, err)
self.failUnlessEqual(rc_or_sig, 0, errstr)
self.failUnlessEqual(out, "", errstr)
print errstr
# self.failUnlessEqual(err, "", errstr) # See test_client_no_noise -- for now we ignore noise.
# the parent (twistd) has exited. However, twistd writes the pid
@ -394,7 +393,6 @@ class RunNode(common_util.SignalMixin, unittest.TestCase, pollmixin.PollMixin,
# read the introducer.furl and introducer.port files so we can
# check that their contents don't change on restart
self.furl = fileutil.read(introducer_furl_file)
print "portnum_file " + portnum_file
self.failUnless(os.path.exists(portnum_file))
self.portnum = fileutil.read(portnum_file)