Skip to content

Commit

Permalink
[init] Make python_version func private
Browse files Browse the repository at this point in the history
  • Loading branch information
mpsonntag committed Feb 17, 2020
1 parent 2d06c6d commit 41717b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions odmltools/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import warnings

from sys import version_info as python_version
from sys import version_info as _python_version

from .info import VERSION

if python_version.major < 3 or python_version.major == 3 and python_version.minor < 6:
if _python_version.major < 3 or _python_version.major == 3 and _python_version.minor < 6:
msg = "The '%s' package is not tested with your Python version. " % __name__
msg += "Please consider upgrading to the latest Python distribution."
warnings.warn(msg)
Expand Down

0 comments on commit 41717b3

Please sign in to comment.