summaryrefslogtreecommitdiff
path: root/portato/gui/queue.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-08-12 12:52:14 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-08-12 12:52:14 +0200
commit1ff4d3590fe8e788736e9ebf6700bdd6aa3773f3 (patch)
tree86301639c6f9a1d4d37c438151b9f855453f4cf2 /portato/gui/queue.py
parent4017dbceb245507e6479d3100fcda30f1bb7d99c (diff)
parent73341da5ac1b1acf2632ea62f95aab7e3e86b965 (diff)
downloadportato-1ff4d3590fe8e788736e9ebf6700bdd6aa3773f3.tar.gz
portato-1ff4d3590fe8e788736e9ebf6700bdd6aa3773f3.tar.bz2
portato-1ff4d3590fe8e788736e9ebf6700bdd6aa3773f3.zip
Another merge from 0.13
Diffstat (limited to '')
-rw-r--r--portato/gui/queue.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/portato/gui/queue.py b/portato/gui/queue.py
index e19f8cb..7c667f9 100644
--- a/portato/gui/queue.py
+++ b/portato/gui/queue.py
@@ -532,6 +532,15 @@ class EmergeQueue:
except ValueError: # no && in command
self.doEmerge([],[],{}, command, caller = self.sync)
+ # syncing portage and DB after emerge sync
+ def finish ():
+ debug("Finishing sync...")
+ system.reload_settings()
+ self.db.reload()
+ debug("Sync finished")
+
+ self.threadQueue.put(finish, caller = self.sync)
+
def kill_emerge (self):
"""Kills the emerge process."""
if self.process is not None: