Changeset 923:fe2a902681bc for src/mlx/gui
- Timestamp:
- 04/27/19 12:11:14 (6 years ago)
- Branch:
- python3
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/timetable.py
r919 r923 752 752 planes = [plane for plane in fleet 753 753 if plane.aircraftType == aircraftType] 754 planes.sort( cmp = lambda p1, p2: cmp(p1.tailNumber, p2.tailNumber))754 planes.sort(key = lambda p: p.tailNumber) 755 755 756 756 dialog = BookDialog(self, flightPair, planes)
Note:
See TracChangeset
for help on using the changeset viewer.