Mercurial > ~astiob > upreckon > hgweb
comparison zipfile.py @ 97:bbf9c434fa57
Added zipfile-with-bzip2 implementation for Python 3.2
author | Oleg Oshmyan <chortos@inbox.lv> |
---|---|
date | Wed, 02 Mar 2011 19:00:57 +0000 |
parents | 4ea7133ac25c |
children |
comparison
equal
deleted
inserted
replaced
96:c3afa2b0c14c | 97:bbf9c434fa57 |
---|---|
1 import sys | 1 import sys |
2 if sys.version_info[0] >= 3: | 2 if sys.version_info[0] >= 3: |
3 from zipfile31 import * | 3 if sys.version_info[1] >= 2: |
4 elif sys.version_info[1] >= 7: | 4 from zipfile32 import * |
5 from zipfile27 import * | 5 else: |
6 from zipfile31 import * | |
6 else: | 7 else: |
7 from zipfile26 import * | 8 if sys.version_info[0] == 2 and sys.version_info[1] >= 7: |
9 from zipfile27 import * | |
10 else: | |
11 from zipfile26 import * |