summaryrefslogtreecommitdiff
path: root/coverage/control.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2016-11-19 16:28:28 -0500
committerNed Batchelder <ned@nedbatchelder.com>2016-11-19 16:28:28 -0500
commitedf645cc0beb50b16d85ad17ebd2f1f16aa372b6 (patch)
treeea7a816d3c061e217610190f3aa74dc3d527131d /coverage/control.py
parent0fcc12cc8be534229eaf6f9f828259ac24fc1742 (diff)
downloadpython-coveragepy-git-edf645cc0beb50b16d85ad17ebd2f1f16aa372b6.tar.gz
Clean up line wraps and leftover prints
Diffstat (limited to 'coverage/control.py')
-rw-r--r--coverage/control.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/coverage/control.py b/coverage/control.py
index e658ef1b..e0aa998a 100644
--- a/coverage/control.py
+++ b/coverage/control.py
@@ -148,16 +148,11 @@ class Coverage(object):
for fname, prefix in [(config_file, ""),
("setup.cfg", "coverage:"),
("tox.ini", "coverage:")]:
- config_read = self.config.from_file(fname,
- section_prefix=prefix)
- print('config read?')
- print(config_read)
+ config_read = self.config.from_file(fname, section_prefix=prefix)
is_config_file = fname == config_file
if not config_read and is_config_file and specified_file:
- raise CoverageException(
- "Couldn't read '%s' as a config file" % fname
- )
+ raise CoverageException("Couldn't read '%s' as a config file" % fname)
if config_read:
break