Mercurial > ~astiob > upreckon > hgweb
comparison files.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 | cd347cfca272 |
children | 62a96d51bf94 |
comparison
equal
deleted
inserted
replaced
90:1fb319ec33af | 91:c62c9bfd614a |
---|---|
2 | 2 |
3 """File access routines and classes with support for archives.""" | 3 """File access routines and classes with support for archives.""" |
4 | 4 |
5 from __future__ import division, with_statement | 5 from __future__ import division, with_statement |
6 | 6 |
7 try: | 7 from compat import * |
8 from compat import * | |
9 except ImportError: | |
10 import __main__ | |
11 __main__.import_error(sys.exc_info()[1]) | |
12 | |
13 import contextlib, os, shutil, sys | 8 import contextlib, os, shutil, sys |
14 | 9 |
15 # You don't need to know about anything else. | 10 # You don't need to know about anything else. |
16 __all__ = 'File', | 11 __all__ = 'File', |
17 | 12 |