Next / Previous / Contents / Shipman's homepage

62.2. StatusField.flatten()

Flattener for a status field.

baseclasses.py
# - - -   S t a t u s F i e l d . f l a t t e n   - - -

    @staticmethod
    def flatten(statusField):
        '''Flatten a status field.
        '''
        if  statusField is None:
            return BLANK_STATUS_OUT
        else:
            return statusField.value