diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2015-03-20 15:48:38 -0400 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2015-03-20 15:48:38 -0400 |
| commit | 5e00a02ea1f7473c952d4d359891db4f53ac1778 (patch) | |
| tree | 53182dd7e24df0103f80a2b60339d0e5965ebb32 /pkg_resources | |
| parent | 80c6b750898c53a0f627c64a0b953ae0e5fdb9d7 (diff) | |
| download | external_python_setuptools-5e00a02ea1f7473c952d4d359891db4f53ac1778.tar.gz external_python_setuptools-5e00a02ea1f7473c952d4d359891db4f53ac1778.tar.bz2 external_python_setuptools-5e00a02ea1f7473c952d4d359891db4f53ac1778.zip | |
Disable warning of LegacyVersion in parsed_version. This functionality should be called explicitly at whatever times are appropriate for the warning. Fixes #307.
Diffstat (limited to 'pkg_resources')
| -rw-r--r-- | pkg_resources/__init__.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/pkg_resources/__init__.py b/pkg_resources/__init__.py index 607d0eec..6aac8296 100644 --- a/pkg_resources/__init__.py +++ b/pkg_resources/__init__.py @@ -2501,7 +2501,6 @@ class Distribution(object): def parsed_version(self): if not hasattr(self, "_parsed_version"): self._parsed_version = parse_version(self.version) - self._warn_legacy_version() return self._parsed_version |
