summaryrefslogtreecommitdiff
path: root/coverage/config.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-12-03 08:58:17 -0500
committerNed Batchelder <ned@nedbatchelder.com>2009-12-03 08:58:17 -0500
commitb78ce3218c41e8609ffde1969e6700ef87960ca9 (patch)
tree7173a6aa52ddb271519ed4081b80ec99bade9501 /coverage/config.py
parent5f7375fb90aaf728ebf6c9da9a61b5302dcbd71b (diff)
downloadpython-coveragepy-b78ce3218c41e8609ffde1969e6700ef87960ca9.tar.gz
Clean trailing whitespace.
Diffstat (limited to 'coverage/config.py')
-rw-r--r--coverage/config.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/coverage/config.py b/coverage/config.py
index d779048..0955347 100644
--- a/coverage/config.py
+++ b/coverage/config.py
@@ -6,12 +6,12 @@ from coverage.backward import configparser # pylint: disable-msg=W0622
class CoverageConfig(object):
"""Coverage.py configuration.
-
+
The attributes of this class are the various settings that control the
operation of coverage.py.
-
+
"""
-
+
def __init__(self):
"""Initialize the configuration attributes to their defaults."""
# Defaults.
@@ -38,13 +38,13 @@ class CoverageConfig(object):
def from_file(self, *files):
"""Read configurating from .rc files.
-
+
Each argument in `files` is a file name to read.
-
+
"""
cp = configparser.RawConfigParser()
cp.read(files)
-
+
if cp.has_option('run', 'timid'):
self.timid = cp.getboolean('run', 'timid')
if cp.has_option('run', 'cover_pylib'):