fix missing flush() calls
This commit is contained in:
parent
5a8509ab75
commit
7fa04fe1d2
5 changed files with 14 additions and 1 deletions
|
|
@ -33,12 +33,13 @@ class Traveloob(ReplApplication):
|
|||
|
||||
def do_stations(self, pattern):
|
||||
"""
|
||||
search PATTERN
|
||||
stations PATTERN
|
||||
|
||||
Search stations.
|
||||
"""
|
||||
for backend, station in self.do('iter_station_search', pattern):
|
||||
self.format(station)
|
||||
self.flush()
|
||||
|
||||
def do_departures(self, line):
|
||||
"""
|
||||
|
|
@ -66,3 +67,4 @@ class Traveloob(ReplApplication):
|
|||
|
||||
for backend, departure in self.do('iter_station_departures', station_id, arrival_id, backends=backends):
|
||||
self.format(departure)
|
||||
self.flush()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue