Ignore:
Timestamp:
12/08/12 15:22:06 (11 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

It is now possible to log faults so that the last one is updated instead of writing a new one (#143)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/flight.py

    r304 r346  
    269269            return False
    270270
    271     def handleFault(self, faultID, timestamp, what, score):
     271    def handleFault(self, faultID, timestamp, what, score,
     272                    updatePrevious = False):
    272273        """Handle the given fault.
    273274
     
    276277        the score is greater than last time. This ID can be, e.g. the checker
    277278        the report comes from."""
    278         self.logger.fault(faultID, timestamp, what, score)
     279        self.logger.fault(faultID, timestamp, what, score,
     280                          updatePrevious = updatePrevious)
    279281        self._gui.setRating(self.logger.getRating())
    280282
Note: See TracChangeset for help on using the changeset viewer.