diff options
author | Hugo <hugovk@users.noreply.github.com> | 2018-01-15 17:51:53 +0200 |
---|---|---|
committer | Hugo <hugovk@users.noreply.github.com> | 2018-01-15 17:51:53 +0200 |
commit | 07f24bd51167077da6e8eff35ac14f520a35b674 (patch) | |
tree | 65d76f3b5950749bd26e0c0991aadb770e06840a | |
parent | 50662a01bd111ebcef1bc583df609e51c013daf4 (diff) | |
download | blessings-07f24bd51167077da6e8eff35ac14f520a35b674.tar.gz |
Remove redundant code (made redundant by python_requires)
-rw-r--r-- | blessings/__init__.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/blessings/__init__.py b/blessings/__init__.py index 810d367..9e10ebc 100644 --- a/blessings/__init__.py +++ b/blessings/__init__.py @@ -14,7 +14,6 @@ except ImportError: ``io.UnsupportedOperation`` in Python 2""" from os import isatty, environ -from platform import python_version_tuple import struct import sys from termios import TIOCGWINSZ @@ -23,13 +22,6 @@ from termios import TIOCGWINSZ __all__ = ['Terminal'] -if ('3', '0', '0') <= python_version_tuple() < ('3', '2', '2+'): # Good till - # 3.2.10 - # Python 3.x < 3.2.3 has a bug in which tparm() erroneously takes a string. - raise ImportError('Blessings needs Python 3.2.3 or greater for Python 3 ' - 'support due to http://bugs.python.org/issue10570.') - - class Terminal(object): """An abstraction around terminal capabilities |