[nanny] Set progress to 0 when blacklist is downloaded
- From: Roberto Majadas <telemaco src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nanny] Set progress to 0 when blacklist is downloaded
- Date: Sun, 23 Jan 2011 18:07:54 +0000 (UTC)
commit e294f0a6dbdc531e3d273c2f8ef238cfa5d8b61f
Author: Roberto Majadas <roberto majadas openshine com>
Date: Sun Jan 16 17:55:02 2011 +0100
Set progress to 0 when blacklist is downloaded
daemon/src/FilterManager.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/daemon/src/FilterManager.py b/daemon/src/FilterManager.py
index b436c29..fcd5cae 100644
--- a/daemon/src/FilterManager.py
+++ b/daemon/src/FilterManager.py
@@ -326,6 +326,7 @@ class FilterManager (gobject.GObject) :
os.unlink(dest_file)
fm.pkg_filters_conf[pkg_id]["status"]=PKG_STATUS_READY
+ fm.pkg_filters_conf[pkg_id]["progress"] = 0
fm.db_pools[pkg_id] = adbapi.ConnectionPool('sqlite3', dest_db,
check_same_thread=False,
cp_openfun=on_db_connect)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]