summaryrefslogtreecommitdiff
path: root/portato/gui/queue.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2008-10-28 23:02:35 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2008-10-28 23:02:35 +0100
commit667747a0a9df9e6ad21bf7849a8e0ec80e4792f6 (patch)
treed123f95feabd0c9c05a75b0429ddc50f1f78db4a /portato/gui/queue.py
parent4ee82f29f045300268f4bbc0a100c8ed90d15c5f (diff)
downloadportato-667747a0a9df9e6ad21bf7849a8e0ec80e4792f6.tar.gz
portato-667747a0a9df9e6ad21bf7849a8e0ec80e4792f6.tar.bz2
portato-667747a0a9df9e6ad21bf7849a8e0ec80e4792f6.zip
Remove some trailing whitespaces
Diffstat (limited to '')
-rw-r--r--portato/gui/queue.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/portato/gui/queue.py b/portato/gui/queue.py
index 610bc49..66d6054 100644
--- a/portato/gui/queue.py
+++ b/portato/gui/queue.py
@@ -144,7 +144,7 @@ class EmergeQueue:
pkg = self._get_pkg_from_cpv(cpv, unmask)
if not pkg.is_installed():
old = system.find_packages(pkg.get_slot_cp(), system.SET_INSTALLED)
- if old:
+ if old:
old = old[0] # assume we have only one there
cmp = pkg.compare_version(old)
if cmp > 0:
@@ -260,7 +260,7 @@ class EmergeQueue:
for block in self.blocks[type]:
for c in self.iters[type]:
if system.cpv_matches(c, block):
- blocked = ", ".join(self.blocks[type][block])
+ blocked = ", ".join(self.blocks[type][block])
warning("'%s' is blocked by: %s", c, blocked)
self.remove_with_children(self.iters[type][c], False)
raise BlockedException(c, blocked)
@@ -428,7 +428,7 @@ class EmergeQueue:
its = {}
for k in queue:
list += ["="+k]
- if self.tree:
+ if self.tree:
its.update({k : self.iters["install"][k]})
return list, its