[gnome-software/wip/iainl/ubuntu-xenial] Clear old errors from last run
- From: William Hua <williamhua src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/iainl/ubuntu-xenial] Clear old errors from last run
- Date: Wed, 20 Apr 2016 11:28:03 +0000 (UTC)
commit 56e3a722335d41eefd5dc587970566535d7119c2
Author: William Hua <william hua canonical com>
Date: Wed Apr 20 07:25:56 2016 -0400
Clear old errors from last run
src/plugins/gs-plugin-apt.cc | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-plugin-apt.cc b/src/plugins/gs-plugin-apt.cc
index 1bcf5c1..0371e58 100644
--- a/src/plugins/gs-plugin-apt.cc
+++ b/src/plugins/gs-plugin-apt.cc
@@ -428,6 +428,7 @@ load_apt_db (GsPlugin *plugin, GError **error)
if (plugin->priv->loaded)
return TRUE;
+ _error->Discard();
cache = cachefile.GetPkgCache();
list = cachefile.GetSourceList();
policy = cachefile.GetPolicy();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]