Mercurial > ~astiob > upreckon > hgweb
annotate zipfiles/zipfile.py @ 160:93bf6b333c99 2.01
Some broken output validators on Win32 no longer get access-denied errors
author | Oleg Oshmyan <chortos@inbox.lv> |
---|---|
date | Fri, 10 Jun 2011 21:22:53 +0100 |
parents | 45d4a9dc707b |
children |
rev | line source |
---|---|
21 | 1 import sys |
29
a8cc383b787c
Clean up zipfiles and diff them to stock ones
Oleg Oshmyan <chortos@inbox.lv>
parents:
21
diff
changeset
|
2 if sys.version_info[0] >= 3: |
97
bbf9c434fa57
Added zipfile-with-bzip2 implementation for Python 3.2
Oleg Oshmyan <chortos@inbox.lv>
parents:
50
diff
changeset
|
3 if sys.version_info[1] >= 2: |
bbf9c434fa57
Added zipfile-with-bzip2 implementation for Python 3.2
Oleg Oshmyan <chortos@inbox.lv>
parents:
50
diff
changeset
|
4 from zipfile32 import * |
bbf9c434fa57
Added zipfile-with-bzip2 implementation for Python 3.2
Oleg Oshmyan <chortos@inbox.lv>
parents:
50
diff
changeset
|
5 else: |
bbf9c434fa57
Added zipfile-with-bzip2 implementation for Python 3.2
Oleg Oshmyan <chortos@inbox.lv>
parents:
50
diff
changeset
|
6 from zipfile31 import * |
21 | 7 else: |
97
bbf9c434fa57
Added zipfile-with-bzip2 implementation for Python 3.2
Oleg Oshmyan <chortos@inbox.lv>
parents:
50
diff
changeset
|
8 if sys.version_info[0] == 2 and sys.version_info[1] >= 7: |
bbf9c434fa57
Added zipfile-with-bzip2 implementation for Python 3.2
Oleg Oshmyan <chortos@inbox.lv>
parents:
50
diff
changeset
|
9 from zipfile27 import * |
bbf9c434fa57
Added zipfile-with-bzip2 implementation for Python 3.2
Oleg Oshmyan <chortos@inbox.lv>
parents:
50
diff
changeset
|
10 else: |
bbf9c434fa57
Added zipfile-with-bzip2 implementation for Python 3.2
Oleg Oshmyan <chortos@inbox.lv>
parents:
50
diff
changeset
|
11 from zipfile26 import * |