Mercurial > ~astiob > upreckon > hgweb
annotate zipfile.py @ 91:c62c9bfd614a
Removed import_error
It was buggy anyway.
author | Oleg Oshmyan <chortos@inbox.lv> |
---|---|
date | Mon, 28 Feb 2011 16:05:20 +0000 |
parents | 4ea7133ac25c |
children | bbf9c434fa57 |
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: |
a8cc383b787c
Clean up zipfiles and diff them to stock ones
Oleg Oshmyan <chortos@inbox.lv>
parents:
21
diff
changeset
|
3 from zipfile31 import * |
a8cc383b787c
Clean up zipfiles and diff them to stock ones
Oleg Oshmyan <chortos@inbox.lv>
parents:
21
diff
changeset
|
4 elif sys.version_info[1] >= 7: |
a8cc383b787c
Clean up zipfiles and diff them to stock ones
Oleg Oshmyan <chortos@inbox.lv>
parents:
21
diff
changeset
|
5 from zipfile27 import * |
21 | 6 else: |
29
a8cc383b787c
Clean up zipfiles and diff them to stock ones
Oleg Oshmyan <chortos@inbox.lv>
parents:
21
diff
changeset
|
7 from zipfile26 import * |