Code review comment for lp://staging/~samuel-buffet/entertainer/ftx2

Revision history for this message
Samuel Buffet (samuel-buffet) wrote :

correction of the formatted string.

=== modified file 'entertainerlib/frontend/media_player.py'
--- entertainerlib/frontend/media_player.py 2009-01-06 11:57:56 +0000
+++ entertainerlib/frontend/media_player.py 2009-01-06 21:29:09 +0000
@@ -84,7 +84,8 @@
             self.video_texture.set_playing(False)
             self.video_texture.set_property("position", 0)
             err, debug = message.parse_error()
- self.logger.error("Error: %s" % err, debug)
+ self.logger.error("Error: %(err)s, %(debug)s" % \
+ {'err': err, 'debug': debug})

     def set_playlist(self, playlist):
         """

« Back to merge proposal