[gnome-software] trivial: Be more forgiving when parsing AppStream locations



commit 6abbb8e3827283d994ac438a9e5a204cd274e92f
Author: Richard Hughes <richard hughsie com>
Date:   Wed Jun 8 20:13:31 2016 +0100

    trivial: Be more forgiving when parsing AppStream locations

 src/plugins/gs-plugin-appstream.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-plugin-appstream.c b/src/plugins/gs-plugin-appstream.c
index 3c9eaf7..42bada1 100644
--- a/src/plugins/gs-plugin-appstream.c
+++ b/src/plugins/gs-plugin-appstream.c
@@ -149,6 +149,7 @@ gs_plugin_setup (GsPlugin *plugin, GCancellable *cancellable, GError **error)
                        return FALSE;
        } else {
                ret = as_store_load (priv->store,
+                                    AS_STORE_LOAD_FLAG_IGNORE_INVALID |
                                     AS_STORE_LOAD_FLAG_APP_INFO_SYSTEM |
                                     AS_STORE_LOAD_FLAG_APP_INFO_USER |
                                     AS_STORE_LOAD_FLAG_APPDATA |


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