diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2013-09-27 23:26:28 +0200 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2013-10-16 16:59:35 -0700 |
commit | 6b222528f3b5a581e699c3364a5e327764689d40 (patch) | |
tree | e12ad58189596f40e0bb7d37d4e4dd0967557d4b | |
parent | 83f44878eaacce5ee2bab0aa7f03a36743fea044 (diff) |
Reintroduce __version_info__ variable
At least one application (mysql-workbench) (used to) use(s) the __version_info__
that got removed by commit 99859b8b021a5d13ca067a3e79560d6121f9c52f.
Breaking existing software with new versions of paramiko should be avoided.
This pull-request reintroduces the __version_info__ var, but fills it
from the __version__ var. No need to maintain multiple version strings.
Conflicts:
paramiko/__init__.py
-rw-r--r-- | paramiko/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/paramiko/__init__.py b/paramiko/__init__.py index 6a3e7a8b..9e309cf8 100644 --- a/paramiko/__init__.py +++ b/paramiko/__init__.py @@ -56,6 +56,7 @@ if sys.version_info < (2, 5): __author__ = "Jeff Forcier <jeff@bitprophet.org>" __version__ = "1.8.1" +__version_info__ = tuple([ int(d) for d in __version__.split(".") ]) __license__ = "GNU Lesser General Public License (LGPL)" |