suite: Use event_loop.poll in interactive poll

This way we also poll dbus events from ofono_client

Change-Id: I06fe9a78d702ebb05c4ece78e14fcae9e2e74ee2
This commit is contained in:
Pau Espin 2017-07-03 13:12:37 +02:00
parent 0d8deec6ae
commit 90c23cc991
1 changed files with 1 additions and 1 deletions

View File

@ -394,7 +394,7 @@ class SuiteRun(log.Origin):
sys.__stdout__.write(msg)
sys.__stdout__.write('\n')
sys.__stdout__.flush()
entered = util.input_polling('> ', self.poll)
entered = util.input_polling('> ', event_loop.poll)
self.log('prompt entered:', repr(entered))
return entered