Changeset 1069:4117951c11e6 for src


Ignore:
Timestamp:
12/24/22 08:31:45 (2 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
python3
Phase:
public
Message:

Fixed the string representation of booked flights

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/rpc.py

    r1046 r1069  
    551551                                           self.departureTime, self.arrivalTime)
    552552        s += " %d %s," % (self.aircraftType, self.tailNumber)
    553         s += " pax=%d, crew=%d, bag=%d, cargo=%d, mail=%d" % \
    554              (self.numPassengers, self.numCrew,
     553        s += " pax=%d+%d+%d, crew=%d+%d, bag=%d, cargo=%d, mail=%d" % \
     554             (self.numPassengers, self.numChildren, self.numInfants,
     555              self.numCockpitCrew, self.numCabinCrew,
    555556              self.bagWeight, self.cargoWeight, self.mailWeight)
    556557        s += ">"
Note: See TracChangeset for help on using the changeset viewer.