[gnome-music/wip/mschraal/playlistcontrols-actions-rework: 2/2] playlistcontextmenu: Minor cleanups



commit 748ed9d4a832807c782fa03af4edb508e8551a6e
Author: Marinus Schraal <mschraal gnome org>
Date:   Sun Jan 5 15:24:25 2020 +0100

    playlistcontextmenu: Minor cleanups
    
    * Remove __repr__
    * Remove @log

 gnomemusic/widgets/playlistcontextmenu.py | 6 ------
 1 file changed, 6 deletions(-)
---
diff --git a/gnomemusic/widgets/playlistcontextmenu.py b/gnomemusic/widgets/playlistcontextmenu.py
index e0cd8f2c..27efbe2e 100644
--- a/gnomemusic/widgets/playlistcontextmenu.py
+++ b/gnomemusic/widgets/playlistcontextmenu.py
@@ -24,8 +24,6 @@
 
 from gi.repository import Gio, Gtk
 
-from gnomemusic import log
-
 
 @Gtk.Template(resource_path='/org/gnome/Music/ui/PlaylistContextMenu.ui')
 class PlaylistContextMenu(Gtk.Popover):
@@ -34,10 +32,6 @@ class PlaylistContextMenu(Gtk.Popover):
 
     _song_menu = Gtk.Template.Child()
 
-    def __repr__(self):
-        return '<PlaylistContextMenu>'
-
-    @log
     def __init__(self, application, view):
         """Initialize
 


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