[gnome-software/wip/temp/ubuntu-xenial-rebased: 284/329] Clear old errors from last run
- From: Iain Lane <iainl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/temp/ubuntu-xenial-rebased: 284/329] Clear old errors from last run
- Date: Fri, 29 Apr 2016 14:09:13 +0000 (UTC)
commit 9bf4edc394a7dfffd84b0160b487aa9d55a6dda1
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 ba09cdc..647b99c 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]