Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/audio.py
diff options
context:
space:
mode:
authorSimon Schampijer <simon@schampijer.de>2009-10-06 10:55:32 (GMT)
committer Simon Schampijer <simon@schampijer.de>2009-10-06 10:55:32 (GMT)
commitc895c1e658d616a6a52b274494aefce1a28abfe0 (patch)
tree861257e64caca4fad46ee61602fe613d9d5a26c2 /audio.py
parent2e6fbf50a71fb17de20d99c49576516206695096 (diff)
Pylint cleanup
Diffstat (limited to 'audio.py')
-rw-r--r--audio.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/audio.py b/audio.py
index 3481622..09522bb 100644
--- a/audio.py
+++ b/audio.py
@@ -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)