Process part

def _process_defpriv_part(defperms):
    '''
    Process part
    '''
    _tmp = {}
    previous = None
    for defperm in defperms:
        if previous is None:
            _tmp[_DEFAULT_PRIVILEGES_MAP[defperm]] = False
            previous = _DEFAULT_PRIVILEGES_MAP[defperm]
        else:
            if defperm == '*':
                _tmp[previous] = True
            else:
                _tmp[_DEFAULT_PRIVILEGES_MAP[defperm]] = False
                previous = _DEFAULT_PRIVILEGES_MAP[defperm]
    return _tmp