view zipfile.py @ 66:34ba0b353fc6

Fixed an issue when import errors would be ignored
author Oleg Oshmyan <chortos@inbox.lv>
date Wed, 22 Dec 2010 22:30:05 +0200
parents 4ea7133ac25c
children bbf9c434fa57
line wrap: on
line source

import sys
if sys.version_info[0] >= 3:
	from zipfile31 import *
elif sys.version_info[1] >= 7:
	from zipfile27 import *
else:
	from zipfile26 import *