def METHOD_NAME(self, path):
    path = os.path.normpath(path)
    works = self.workspace if str(self.workspace).endswith(os.sep) else (self.workspace  + os.sep)
    if not path.startswith(works):
        return ''
    for exceptdir in gEXCEPTION_LIST:
        full = os.path.join(self.workspace, exceptdir)
        if full == path or path.startswith(full + os.sep) or os.path.split(full)[0] == path:
            return ''
    return path[len(self.workspace)+1:]