Mercurial > ~astiob > upreckon > hgweb
view zipfile.py @ 128:42c8f5c152a5
Fixed EINTR fatally breaking poll/wait on Python 2.6- (for real this time)
author | Oleg Oshmyan <chortos@inbox.lv> |
---|---|
date | Mon, 16 May 2011 21:31:43 +0100 |
parents | bbf9c434fa57 |
children |
line wrap: on
line source
import sys if sys.version_info[0] >= 3: if sys.version_info[1] >= 2: from zipfile32 import * else: from zipfile31 import * else: if sys.version_info[0] == 2 and sys.version_info[1] >= 7: from zipfile27 import * else: from zipfile26 import *