[gnome-music/wip/rate-limit: 4/5] player: don't log _update_position_callback and seconds_to_string



commit 80aa1a6161b1baa2827ff7395fca0b7e0298b02d
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Tue Jun 16 17:41:00 2015 +0200

    player: don't log _update_position_callback and seconds_to_string

 gnomemusic/player.py |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gnomemusic/player.py b/gnomemusic/player.py
index 6a9f63e..8964b67 100644
--- a/gnomemusic/player.py
+++ b/gnomemusic/player.py
@@ -807,7 +807,6 @@ class Player(GObject.GObject):
             self.timeout = None
         return False
 
-    @log
     def seconds_to_string(self, duration):
         seconds = duration
         minutes = seconds // 60
@@ -837,7 +836,6 @@ class Player(GObject.GObject):
         self.scrobbled = False
         self.progressScale.set_range(0.0, duration * 60)
 
-    @log
     def _update_position_callback(self):
         position = self.player.query_position(Gst.Format.TIME)[1] / 1000000000
         if position > 0:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]