[gnome-software/gnome-3-14] trivial: Only show the package name when debugging fedora-tagger



commit d589728538a8ad6b1256e512f05b6e1cba5e7eb2
Author: Richard Hughes <richard hughsie com>
Date:   Wed Dec 10 11:39:22 2014 +0000

    trivial: Only show the package name when debugging fedora-tagger

 src/plugins/gs-plugin-fedora-tagger-ratings.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-plugin-fedora-tagger-ratings.c b/src/plugins/gs-plugin-fedora-tagger-ratings.c
index e272302..d037b5c 100644
--- a/src/plugins/gs-plugin-fedora-tagger-ratings.c
+++ b/src/plugins/gs-plugin-fedora-tagger-ratings.c
@@ -710,7 +710,8 @@ gs_plugin_refine (GsPlugin *plugin,
                                gs_app_set_rating_kind (app, GS_APP_RATING_KIND_SYSTEM);
                                if (confidence > 50 && rating > 80) {
                                        g_debug ("%s is popular [confidence %i]",
-                                                gs_app_get_id (app), confidence);
+                                                gs_app_get_source_default (app),
+                                                confidence);
                                        gs_app_add_kudo (app, GS_APP_KUDO_POPULAR);
                                }
                        }


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