Mercurial > ~astiob > upreckon > hgweb
comparison upreckon/files.py @ 244:67fd512bb54a
Removed a nonexistent name from files.__all__
author | Oleg Oshmyan <chortos@inbox.lv> |
---|---|
date | Wed, 02 Oct 2013 23:03:37 +0300 |
parents | 7827e63cd148 |
children | 6dd29475ae9b |
comparison
equal
deleted
inserted
replaced
243:cf7dd3f46e89 | 244:67fd512bb54a |
---|---|
1 # Copyright (c) 2010-2011 Chortos-2 <chortos@inbox.lv> | 1 # Copyright (c) 2010-2013 Chortos-2 <chortos@inbox.lv> |
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 from .compat import * | 7 from .compat import * |
8 import contextlib, os, posixpath, re, shutil | 8 import contextlib, os, posixpath, re, shutil |
9 | 9 |
10 # You don't need to know about anything else. | 10 # You don't need to know about anything else. |
11 __all__ = 'File', 'regexp' | 11 __all__ = 'File', |
12 | 12 |
13 # In these two variables, use full stops no matter what os.extsep is; | 13 # In these two variables, use full stops no matter what os.extsep is; |
14 # all full stops will be converted to os.extsep on the fly | 14 # all full stops will be converted to os.extsep on the fly |
15 archives = 'tests.tar', 'tests.zip', 'tests.tgz', 'tests.tar.gz', 'tests.tbz2', 'tests.tar.bz2' | 15 archives = 'tests.tar', 'tests.zip', 'tests.tgz', 'tests.tar.gz', 'tests.tbz2', 'tests.tar.bz2' |
16 formats = {} | 16 formats = {} |