summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-08-30 10:52:06 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-08-30 10:52:06 -0400
commit6489df5a854f1616b8456049fcc3be0493743b3b (patch)
treee06bbf28ff5c335c2e13dd02cbd80b3bb82d6354
parent68a4d571547b409722e416e9254d8b9fb89f84a5 (diff)
downloadpython-coveragepy-git-6489df5a854f1616b8456049fcc3be0493743b3b.tar.gz
Fix pylint issue.
-rw-r--r--setup.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index 47334fd6..a2e4acff 100644
--- a/setup.py
+++ b/setup.py
@@ -30,8 +30,11 @@ Topic :: Software Development :: Testing
cov_ver_py = os.path.join(os.path.split(__file__)[0], "coverage/version.py")
with open(cov_ver_py) as version_file:
- doc = __doc__ # __doc__ will be overwritten by version.py.
- __version__ = __url__ = version = "" # Keep pylint happy.
+ # __doc__ will be overwritten by version.py.
+ doc = __doc__
+ # Keep pylint happy.
+ __version__ = __url__ = version_info = ""
+ # Execute the code in version.py.
exec(compile(version_file.read(), cov_ver_py, 'exec'))
with open("README.rst") as readme: