Ignore:
Timestamp:
12/30/16 15:37:51 (7 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Message:

A PIREP can be queried from the server (re #307)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/rpc.py

    r824 r829  
    340340                          self._server.setCheckFlightPassed(sessionID, type))
    341341
     342    def getPIREP(self, flightID):
     343        """Get the PIREP data for the flight with the given ID."""
     344        value = self._performCall(lambda sessionID:
     345                                  self._server.getPIREP(sessionID, flightID))
     346        return value
     347
    342348    def reflyFlights(self, flightIDs):
    343349        """Mark the flights with the given IDs for reflying."""
Note: See TracChangeset for help on using the changeset viewer.