diff options
author | Simon Schampijer <simon@schampijer.de> | 2009-10-06 10:55:32 (GMT) |
---|---|---|
committer | Simon Schampijer <simon@schampijer.de> | 2009-10-06 10:55:32 (GMT) |
commit | c895c1e658d616a6a52b274494aefce1a28abfe0 (patch) | |
tree | 861257e64caca4fad46ee61602fe613d9d5a26c2 /audio.py | |
parent | 2e6fbf50a71fb17de20d99c49576516206695096 (diff) |
Pylint cleanup
Diffstat (limited to 'audio.py')
-rw-r--r-- | audio.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -54,9 +54,9 @@ class Audio(object): self._player.set_state(gst.STATE_NULL) def _gstmessage_cb(self, bus, message): - type = message.type + message_type = message.type - if type in (gst.MESSAGE_EOS, gst.MESSAGE_ERROR): + if message_type in (gst.MESSAGE_EOS, gst.MESSAGE_ERROR): self._player.set_state(gst.STATE_NULL) self._playing = None - _logger.debug('audio stoped with type %d' % type) + _logger.debug('audio stoped with type %d' % message_type) |