Skip to content

Commit

Permalink
doh: split each line of the warning message, list of lines cannot be …
Browse files Browse the repository at this point in the history
…split!

git-svn-id: https://xpra.org/svn/Xpra/trunk@12593 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed May 18, 2016
1 parent 571ac8f commit 7ff0938
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/xpra/sound/sound_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,9 @@ def on_message(self, bus, message):
elif t == gst.MESSAGE_WARNING:
w = message.parse_warning()
self.gstlogwarn("pipeline warning: %s", w[0].message)
for x in w[1:].split(":"):
self.gstlogwarn(" %s", x)
for x in w[1:]:
for l in x.split(":"):
self.gstlogwarn(" %s", l)
else:
self.gstlogwarn("unhandled bus message type %s: %s", t, message)
self.emit_info()
Expand Down

0 comments on commit 7ff0938

Please sign in to comment.