diff options
author | Hugo <hugovk@users.noreply.github.com> | 2018-08-25 20:53:59 +0300 |
---|---|---|
committer | Hugo <hugovk@users.noreply.github.com> | 2018-08-25 20:53:59 +0300 |
commit | beaa4eb8904b9209d75d98059b5b92b26fdfebe3 (patch) | |
tree | ef93682f795b4771f8d569af549b8d9d1933ceb4 /test.py | |
parent | 396ded1558c4ea7a3723be994c76304b7c5edff8 (diff) | |
download | python-lxml-beaa4eb8904b9209d75d98059b5b92b26fdfebe3.tar.gz |
Remove redundant code for Python <= 2.6
Diffstat (limited to 'test.py')
-rw-r--r-- | test.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -455,8 +455,8 @@ def main(argv): """Main program.""" # Environment - if sys.version_info < (2, 6): - stderr('%s: need Python 2.6 or later' % argv[0]) + if sys.version_info < (2, 7): + stderr('%s: need Python 2.7 or later' % argv[0]) stderr('your python is %s' % sys.version) return 1 |