Mercurial > ~astiob > upreckon > hgweb
view zipfiles/zipfile.py @ 240:2798cbebd83a
Re-allowed callable output validators to give comments as Unicode strings
At the same time:
* removed an unnecessary sys.stdout.flush() on Python 2,
* removed an unnecessary variable re-initialization.
author | Oleg Oshmyan <chortos@inbox.lv> |
---|---|
date | Tue, 11 Dec 2012 02:48:00 +0200 |
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 *