logilab-common #76068 pkginfo: only install unittest2 when python version < 2.7 [validation pending]
priority | normal |
---|---|
type | bug |
done in | 0.57.0 |
load left | 0.000 |
closed by | #8578bf486667 pkginfo: only install unittest2 when python version < 2.7 (closes: #76068) |
Comments
-
2011/09/24 06:05, written by anon
-
2011/09/26 08:44
add commentThe correct check would be:
if sys.version_info < (2, 7) or sys.version_info >= (3, 0) and sys.version_info < (3, 2):
Logilab doesn't want to support dead versions of python 3.