[gnome-software] For now, remove the error about duplicate AppStream id's
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] For now, remove the error about duplicate AppStream id's
- Date: Thu, 5 Sep 2013 18:04:56 +0000 (UTC)
commit dc025b940b3e7f1e18ca67777ba669e6ed9229d2
Author: Richard Hughes <richard hughsie com>
Date: Thu Sep 5 19:04:04 2013 +0100
For now, remove the error about duplicate AppStream id's
src/plugins/appstream-cache.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/src/plugins/appstream-cache.c b/src/plugins/appstream-cache.c
index 6daeb24..04aec7b 100644
--- a/src/plugins/appstream-cache.c
+++ b/src/plugins/appstream-cache.c
@@ -292,11 +292,12 @@ appstream_cache_end_element_cb (GMarkupParseContext *context,
id = appstream_app_get_id (helper->item_temp);
item = g_hash_table_lookup (priv->hash_id, id);
if (item != NULL) {
- g_set_error (error,
- APPSTREAM_CACHE_ERROR,
- APPSTREAM_CACHE_ERROR_FAILED,
- "duplicate AppStream entry: %s", id);
+// g_set_error (error,
+// APPSTREAM_CACHE_ERROR,
+// APPSTREAM_CACHE_ERROR_FAILED,
+// "duplicate AppStream entry: %s", id);
appstream_app_free (helper->item_temp);
+ g_warning ("duplicate AppStream entry: %s", id);
} else {
g_ptr_array_add (priv->array, helper->item_temp);
g_hash_table_insert (priv->hash_id,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]