[gnome-music/wip/mschraal/glib-logging: 36/43] coreartist: New logger



commit 3e0cd6ce8f34dff5c162413def5aec368f254c74
Author: Marinus Schraal <mschraal gnome org>
Date:   Sat Feb 1 15:17:14 2020 +0100

    coreartist: New logger

 gnomemusic/coreartist.py | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/gnomemusic/coreartist.py b/gnomemusic/coreartist.py
index 74d22655..96b8a15f 100644
--- a/gnomemusic/coreartist.py
+++ b/gnomemusic/coreartist.py
@@ -26,7 +26,6 @@ import gi
 gi.require_version('Grl', '0.3')
 from gi.repository import Gio, Grl, GObject
 
-from gnomemusic import log
 from gnomemusic.artistart import ArtistArt
 import gnomemusic.utils as utils
 
@@ -38,7 +37,6 @@ class CoreArtist(GObject.GObject):
     artist = GObject.Property(type=str)
     media = GObject.Property(type=Grl.Media)
 
-    @log
     def __init__(self, media, coremodel):
         super().__init__()
 
@@ -50,7 +48,6 @@ class CoreArtist(GObject.GObject):
 
         self.update(media)
 
-    @log
     def update(self, media):
         self.props.media = media
         self.props.artist = utils.get_artist_name(media)


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