Commit e4279b29 authored by Vincent Pelletier's avatar Vincent Pelletier

Brown paper bag commit.

parent 2d04e9c8
...@@ -247,14 +247,14 @@ class ProjectTestSuite(ERP5TypeTestSuite): ...@@ -247,14 +247,14 @@ class ProjectTestSuite(ERP5TypeTestSuite):
_bt_list = () _bt_list = ()
_search_path_list = None _search_path_list = None
def _searchDirectory(path, path_list): def _searchDirectory(self, path, path_list):
""" """
Returns a iterator over directories matching <path> inside directories Returns a iterator over directories matching <path> inside directories
given in <path list>. given in <path list>.
""" """
path = os.path _path = os.path
pjoin = path.join pjoin = _path.join
isdir = path.isdir isdir = _path.isdir
return (y for y in (pjoin(x, path) for x in path_list) if isdir(y)) return (y for y in (pjoin(x, path) for x in path_list) if isdir(y))
def getTestList(self): def getTestList(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment