summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2018-03-13 10:29:57 -0400
committerNed Batchelder <ned@nedbatchelder.com>2018-03-13 10:29:57 -0400
commit81bfb811e7abadf2602c1787fde516cccb8375ed (patch)
treef17282952ca8339a09fc9a00403b8ae555056f2b
parent433fa4706d7bd955e0eaba7a2099c8d224f5a999 (diff)
downloadpython-coveragepy-81bfb811e7abadf2602c1787fde516cccb8375ed.tar.gz
Private attributes should be indicated
-rw-r--r--coverage/control.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/coverage/control.py b/coverage/control.py
index 55c031a..ace9bf9 100644
--- a/coverage/control.py
+++ b/coverage/control.py
@@ -128,7 +128,7 @@ class Coverage(object):
"""
# Build our configuration from a number of sources.
- self.config_file, self.config = read_coverage_config(
+ self._config_file, self.config = read_coverage_config(
config_file=config_file,
data_file=data_file, cover_pylib=cover_pylib, timid=timid,
branch=branch, parallel=bool_or_none(data_suffix),
@@ -220,7 +220,7 @@ class Coverage(object):
raise CoverageException( # pragma: only jython
"multiprocessing is not supported on this Python"
)
- patch_multiprocessing(rcfile=self.config_file)
+ patch_multiprocessing(rcfile=self._config_file)
# Multi-processing uses parallel for the subprocesses, so also use
# it for the main process.
self.config.parallel = True