Mercurial > ~astiob > upreckon > hgweb
view zipfiles/zipfile.py @ 157:5f9e6121161a
Second attempt to work around unwarranted ERROR_ACCESS_DENIED on Windows
Also fixed an indentation error in win32 apparently caused by a bug
in my text editor.
author | Oleg Oshmyan <chortos@inbox.lv> |
---|---|
date | Wed, 08 Jun 2011 20:53:26 +0100 |
parents | 45d4a9dc707b |
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 *