[gnome-software/wip/temp/ubuntu-xenial-rebased-corrected: 281/331] Clear old errors from last run
- From: William Hua <williamhua src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/temp/ubuntu-xenial-rebased-corrected: 281/331] Clear old errors from last run
- Date: Wed, 4 May 2016 14:22:09 +0000 (UTC)
commit 140cf6a56c4df7f5e516af4919d48874ff29802c
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]