Next / Previous / Contents / TCC Help System / NM Tech homepage

41.2. PartyHoursCell.add(): Accumulate party-hours

cbchistlib.py
# - - -   P a r t y H o u r s C e l l . a d d

    def add(self, value):
        '''Accumulate effort data as party-hours.
        '''
        if self._total is None:
            self._total = value
        else:
            self._total += value