Reintroduce __version_info__ variable
At least one application (mysql-workbench) (used to) use(s) the __version_info__
that got removed by commit 99859b8b02
.
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
This commit is contained in:
parent
83f44878ea
commit
6b222528f3
|
@ -56,6 +56,7 @@ if sys.version_info < (2, 5):
|
||||||
|
|
||||||
__author__ = "Jeff Forcier <jeff@bitprophet.org>"
|
__author__ = "Jeff Forcier <jeff@bitprophet.org>"
|
||||||
__version__ = "1.8.1"
|
__version__ = "1.8.1"
|
||||||
|
__version_info__ = tuple([ int(d) for d in __version__.split(".") ])
|
||||||
__license__ = "GNU Lesser General Public License (LGPL)"
|
__license__ = "GNU Lesser General Public License (LGPL)"
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue