diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2009-08-12 12:52:14 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2009-08-12 12:52:14 +0200 |
commit | 1ff4d3590fe8e788736e9ebf6700bdd6aa3773f3 (patch) | |
tree | 86301639c6f9a1d4d37c438151b9f855453f4cf2 /portato/gui/queue.py | |
parent | 4017dbceb245507e6479d3100fcda30f1bb7d99c (diff) | |
parent | 73341da5ac1b1acf2632ea62f95aab7e3e86b965 (diff) | |
download | portato-1ff4d3590fe8e788736e9ebf6700bdd6aa3773f3.tar.gz portato-1ff4d3590fe8e788736e9ebf6700bdd6aa3773f3.tar.bz2 portato-1ff4d3590fe8e788736e9ebf6700bdd6aa3773f3.zip |
Another merge from 0.13
Diffstat (limited to '')
-rw-r--r-- | portato/gui/queue.py | 9 |
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: |