self._portnumfile -> config.portnum_fname

This commit is contained in:
meejah 2018-09-06 11:42:16 -06:00
parent 692128ad1d
commit f488b79c71

View File

@ -566,7 +566,7 @@ def _tub_portlocation(config):
if cfg_tubport is None:
# For 'tub.port', tahoe.cfg overrides the individual file on
# disk. So only read self._portnumfile if tahoe.cfg doesn't
# disk. So only read config.portnum_fname if tahoe.cfg doesn't
# provide a value.
if os.path.exists(config.portnum_fname):
file_tubport = fileutil.read(config.portnum_fname).strip()