summaryrefslogtreecommitdiff
path: root/modutils.py
diff options
context:
space:
mode:
authorSylvain <syt@logilab.fr>2006-11-10 12:56:19 +0100
committerSylvain <syt@logilab.fr>2006-11-10 12:56:19 +0100
commit44d20837bc57e982468e9ed3cfd16e14bd653405 (patch)
tree7f0fe5b80e8f799feeb54148fced3f0b1980554d /modutils.py
parent81fd4b08bd05f2553752e297d4768a76033d1b24 (diff)
downloadlogilab-common-44d20837bc57e982468e9ed3cfd16e14bd653405.tar.gz
generalize STD_BLACKLIST usage
Diffstat (limited to 'modutils.py')
-rw-r--r--modutils.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/modutils.py b/modutils.py
index c5260e3..4ab4656 100644
--- a/modutils.py
+++ b/modutils.py
@@ -311,7 +311,7 @@ def get_modules(package, src_directory, blacklist=STD_BLACKLIST):
-def get_module_files(src_directory, blacklist=('CVS', '.svn', '.hg', 'debian')):
+def get_module_files(src_directory, blacklist=STD_BLACKLIST):
"""given a package directory return a list of all available python
module's files in the package and its subpackages
@@ -319,10 +319,10 @@ def get_module_files(src_directory, blacklist=('CVS', '.svn', '.hg', 'debian')):
:param src_directory:
path of the directory corresponding to the package
- :type blacklist: list(str) or tuple(str)
+ :type blacklist: list or tuple
:param blacklist:
- optional list of files or directory to ignore, default to 'CVS',
- '.svn' and 'debian'
+ optional list of files or directory to ignore, default to the value of
+ `logilab.common.STD_BLACKLIST`
:rtype: list
:return: