[gnome-music/wip/jfelder/songwidget-repr: 2/2] songwidget: Add missing __repr__ method
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/songwidget-repr: 2/2] songwidget: Add missing __repr__ method
- Date: Wed, 23 May 2018 09:47:02 +0000 (UTC)
commit 8fc7f79ed00b94d21cb8b94f9208359565d74a59
Author: Jean Felder <jfelder src gnome org>
Date: Tue May 22 14:53:48 2018 +0200
songwidget: Add missing __repr__ method
gnomemusic/widgets/songwidget.py | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/gnomemusic/widgets/songwidget.py b/gnomemusic/widgets/songwidget.py
index 45077c87..606ba6aa 100644
--- a/gnomemusic/widgets/songwidget.py
+++ b/gnomemusic/widgets/songwidget.py
@@ -77,6 +77,9 @@ class SongWidget(Gtk.EventBox):
PLAYING = 1
UNPLAYED = 2
+ def __repr__(self):
+ return '<SongWidget>'
+
@log
def __init__(self, media):
super().__init__()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]