433 file = fsInterface.join(searchPath[0], module) |
433 file = fsInterface.join(searchPath[0], module) |
434 else: |
434 else: |
435 # search the path for the module |
435 # search the path for the module |
436 searchPath = [] if searchPath is None else searchPath[:] |
436 searchPath = [] if searchPath is None else searchPath[:] |
437 fullpath = searchPath[:] + sys.path[:] |
437 fullpath = searchPath[:] + sys.path[:] |
438 f, file, (suff, mode, sourceType) = ClassBrowsers.find_module( |
438 f, file, (_suff, mode, sourceType) = ClassBrowsers.find_module( |
439 module, fullpath, isTypeFile |
439 module, fullpath, isTypeFile |
440 ) |
440 ) |
441 if f: |
441 if f: |
442 f.close() |
442 f.close() |
443 |
443 |