diff options
author | Necoro <> | 2008-01-20 02:25:04 +0000 |
---|---|---|
committer | Necoro <> | 2008-01-20 02:25:04 +0000 |
commit | f664def8463a84284a1a8f93ddc5cd6dae3f9d1b (patch) | |
tree | 15029a7ce3347030d06d57f6e9a500fd5d8e0e17 /portato | |
parent | 6647e99ec83e2a934346bb4ca58e93a2e216a831 (diff) | |
download | portato-f664def8463a84284a1a8f93ddc5cd6dae3f9d1b.tar.gz portato-f664def8463a84284a1a8f93ddc5cd6dae3f9d1b.tar.bz2 portato-f664def8463a84284a1a8f93ddc5cd6dae3f9d1b.zip |
r682@Devoty: necoro | 2008-01-20 03:23:02 +0100
remove package at the _end_ of the merge
Diffstat (limited to '')
-rw-r--r-- | portato/gui/gui_helper.py | 1 | ||||
-rw-r--r-- | portato/gui/updater.py | 9 |
2 files changed, 5 insertions, 5 deletions
diff --git a/portato/gui/gui_helper.py b/portato/gui/gui_helper.py index 9c16892..28463a8 100644 --- a/portato/gui/gui_helper.py +++ b/portato/gui/gui_helper.py @@ -519,6 +519,7 @@ class EmergeQueue: title = self.console.get_window_title() if title != old_title: self.title_update(title) + old_title = title time.sleep(0.5) if self.up: diff --git a/portato/gui/updater.py b/portato/gui/updater.py index e468691..f0d4c90 100644 --- a/portato/gui/updater.py +++ b/portato/gui/updater.py @@ -66,11 +66,10 @@ q p1 = subprocess.Popen(["qlop", "--current", "--nocolor", "--quiet"], stdout = subprocess.PIPE) this = subprocess.Popen(["sed", self.SED_EXP], stdout = subprocess.PIPE, stdin = p1.stdout).communicate()[0] - if this: - this = this.strip() - if this != curr: # changed package - curr = this - self.remove(self.find(curr)) # remove it + if this: this = this.strip() + if this != curr: # changed package + curr and self.remove(self.find(curr)) # remove the previous + curr = this time.sleep(2.0) |