Mercurial > ~astiob > upreckon > hgweb
view zipfile.py @ 98:62a96d51bf94
Fixed ZipArchive.extract with relative paths on Windows
author | Oleg Oshmyan <chortos@inbox.lv> |
---|---|
date | Wed, 02 Mar 2011 19:52:03 +0000 |
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 *