scanner: formatting to make travis / tox / flake8 happy

This commit is contained in:
SeeSpotRun 2016-03-15 18:59:06 +10:00 committed by Thomas Adamcik
parent 6379f76889
commit 2d6f00b912

View File

@ -197,8 +197,8 @@ def _process(pipeline, timeout_ms):
# https://bugzilla.gnome.org/show_bug.cgi?id=763553: # https://bugzilla.gnome.org/show_bug.cgi?id=763553:
# try to start pipeline playing; if it doesn't then # try to start pipeline playing; if it doesn't then
# give up: # give up:
) or ( pipeline.set_state(Gst.State.PLAYING) ) or (pipeline.set_state(Gst.State.PLAYING) ==
== Gst.StateChangeReturn.FAILURE): Gst.StateChangeReturn.FAILURE):
return tags, mime, have_audio, duration return tags, mime, have_audio, duration
elif message.type == Gst.MessageType.DURATION_CHANGED: elif message.type == Gst.MessageType.DURATION_CHANGED:
# duration will be read after ASYNC_DONE received; for now # duration will be read after ASYNC_DONE received; for now