[gnome-music/wip/jfelder/utils-docstring] utils: Update get_media_year docstring
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-music/wip/jfelder/utils-docstring] utils: Update get_media_year docstring
- Date: Sat, 31 Oct 2020 15:34:52 +0000 (UTC)
commit 93439cc7669ff372c4e150c0768c4f27f724a64a
Author: Jean Felder <jfelder src gnome org>
Date:   Sat Oct 31 16:33:01 2020 +0100
    utils: Update get_media_year docstring
    
    It now returns the year when the media was published (see commit
    350dabc9614423bade0ff1c806614d6803260b6f).
 gnomemusic/utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/utils.py b/gnomemusic/utils.py
index b244bf075..ff2635411 100644
--- a/gnomemusic/utils.py
+++ b/gnomemusic/utils.py
@@ -136,7 +136,7 @@ def get_media_title(item):
 
 
 def get_media_year(item):
-    """Returns the year when the media was created.
+    """Returns the year when the media was published.
 
     :param Grl.Media item: A Grilo Media object
     :return: The publication year or '----' if not defined
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]