Changeset 400:8b5838e0b51d for src/mlx


Ignore:
Timestamp:
12/27/12 07:09:24 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Using a lambda function instead of directly the property (re #172)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/logger.py

    r349 r400  
    152152            entries = self._entries
    153153            entries.append(entry)
    154             entries.sort(key = Logger.Entry.faultScore, reverse = True)
     154            entries.sort(key = lambda entry: entry.faultScore, reverse = True)
    155155
    156156        def removeEntry(self, entry):
Note: See TracChangeset for help on using the changeset viewer.