Logo Search packages:      
Sourcecode: distribute version File versions  Download package

def pkg_resources::fixup_namespace_packages (   path_item,
  parent = None 
)

Ensure that previously-declared namespace packages include path_item

Definition at line 1789 of file pkg_resources.py.

01789                                                     :
    """Ensure that previously-declared namespace packages include path_item"""
    imp.acquire_lock()
    try:
        for package in _namespace_packages.get(parent,()):
            subpath = _handle_ns(package, path_item)
            if subpath: fixup_namespace_packages(subpath,package)
    finally:
        imp.release_lock()

def file_ns_handler(importer, path_item, packageName, module):


Generated by  Doxygen 1.6.0   Back to index