diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2012-11-16 21:14:44 -0500 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2012-11-16 21:14:44 -0500 |
| commit | b83728aa983f403be1d9d2847e2babeb2033ce91 (patch) | |
| tree | 017a60f4c471733a90e0c74128b3aad376cd4e4f /setup.py | |
| parent | a6ba53c60011f9a61df796c9ed85c663c8fda184 (diff) | |
| download | python-coveragepy-git-b83728aa983f403be1d9d2847e2babeb2033ce91.tar.gz | |
Also, why does it need a leading underscore??
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -57,11 +57,11 @@ doc = __doc__ # __doc__ will be overwritten by version.py. __version__ = __url__ = "" # keep pylint happy. cov_ver_py = os.path.join(os.path.split(__file__)[0], "coverage/version.py") -_version_file = open(cov_ver_py) +version_file = open(cov_ver_py) try: - exec(compile(_version_file.read(), cov_ver_py, 'exec')) + exec(compile(version_file.read(), cov_ver_py, 'exec')) finally: - _version_file.close() + version_file.close() doclines = (doc % __url__).splitlines() classifier_list = classifiers.splitlines() |
