diff options
author | Sylvain <syt@logilab.fr> | 2006-11-10 09:26:16 +0100 |
---|---|---|
committer | Sylvain <syt@logilab.fr> | 2006-11-10 09:26:16 +0100 |
commit | 81fd4b08bd05f2553752e297d4768a76033d1b24 (patch) | |
tree | 918f153b48d5a882a5b9899e3ec388e25d6132f6 /__init__.py | |
parent | 000db8e14c6899c1a3afa785e4666521eabd3171 (diff) | |
download | logilab-common-81fd4b08bd05f2553752e297d4768a76033d1b24.tar.gz |
new shellutils function + cleanup
Diffstat (limited to '__init__.py')
-rw-r--r-- | __init__.py | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/__init__.py b/__init__.py index f8f2e17..6c88683 100644 --- a/__init__.py +++ b/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2004-2006 LOGILAB S.A. (Paris, FRANCE). +# Copyright (c) 2003-2006 LOGILAB S.A. (Paris, FRANCE). # http://www.logilab.fr/ -- mailto:contact@logilab.fr # # This program is free software; you can redistribute it and/or modify it under @@ -16,8 +16,24 @@ """Logilab common libraries: a set of common functionnalities shared among logilab projects + + +:type STD_BLACKLIST: tuple +:var STD_BLACKLIST: + directories ignored by default by the functions in this package which have + to recurse into directories + +:type IGNORED_EXTENSIONS: tuple +:var IGNORED_EXTENSIONS: + file extensions that may usually be ignored """ +STD_BLACKLIST = ('CVS', '.svn', '.hg', 'debian', 'dist', 'build') + +IGNORED_EXTENSIONS = ('.pyc', '.pyo', '.elc', '~') + + + from logilab.common.deprecation import moved get_cycles = moved('logilab.common.graph', 'get_cycles') @@ -110,6 +126,3 @@ def flatten(iterable, tr_func=None, results=None): else: results.append(tr_func(val)) return results - - - |