Changeset 923:fe2a902681bc for src/mlx/web.py
- Timestamp:
- 04/27/19 12:11:14 (5 years ago)
- Branch:
- python3
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/web.py
r919 r923 791 791 result.flights.append(flight) 792 792 793 result.flights.sort(cmp = lambda flight1, flight2: 794 cmp(flight1.departureTime, 795 flight2.departureTime)) 793 result.flights.sort(key = lambda flight: flight.departureTime) 796 794 797 795 f.close()
Note:
See TracChangeset
for help on using the changeset viewer.