view 2.00/zipfile.py @ 28:3d535503161f

hasattr -> try
author Oleg Oshmyan <chortos@inbox.lv>
date Wed, 24 Nov 2010 01:42:39 +0000
parents ec6f1a132109
children a8cc383b787c
line wrap: on
line source

import sys
if sys.version_info[0] == 3:
	from zipfile3 import *
else:
	from zipfile2 import *