def scrubFilename(filename):
    '''
    Scrub the filename to a relative path for all packages in our scrub list.
    '''
    global _PACKAGE_SCRUB_LIST
    for package in _PACKAGE_SCRUB_LIST:
        i = filename.rfind(package)
        if i > -1:
            return filename[i:]

    return filename
def scrubFilename ( filename ) : global _PACKAGE_SCRUB_LIST for package in _PACKAGE_SCRUB_LIST : i = filename . rfind ( package ) if i > - 1 : return filename [ i : ] return filename
Scrub the filename to a relative path for all packages in our scrub list.