def path_yield(path):
    """Yield on all path parts."""
    for part in (x for x in path.strip(SEP).split(SEP) if (None, '') not in x):
        yield part
dataset/ETHPy150Open ryan-roemer/django-cloud-browser/cloud_browser/common.py/path_yield/swapped operands of `not in`