summaryrefslogtreecommitdiff
path: root/portato/backend/portage/system.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/backend/portage/system.py
parent4ee82f29f045300268f4bbc0a100c8ed90d15c5f (diff)
downloadportato-667747a0a9df9e6ad21bf7849a8e0ec80e4792f6.tar.gz
portato-667747a0a9df9e6ad21bf7849a8e0ec80e4792f6.tar.bz2
portato-667747a0a9df9e6ad21bf7849a8e0ec80e4792f6.zip
Remove some trailing whitespaces
Diffstat (limited to 'portato/backend/portage/system.py')
-rw-r--r--portato/backend/portage/system.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/portato/backend/portage/system.py b/portato/backend/portage/system.py
index e81951e..1fd4782 100644
--- a/portato/backend/portage/system.py
+++ b/portato/backend/portage/system.py
@@ -297,7 +297,7 @@ class PortageSystem (SystemInterface):
if p.get_slot_cp() in checked:
return
- else:
+ else:
if (not p.is_installed()) and (not add_not_installed):
# don't add these packages to checked as we may see them again
# - and then we might have add_not_installed being True
@@ -310,7 +310,7 @@ class PortageSystem (SystemInterface):
if not p.is_installed():
oldList = self.find_packages(p.get_slot_cp(), self.SET_INSTALLED)
- if oldList:
+ if oldList:
old = oldList[0] # we should only have one package here - else it is a bug
else:
oldList = self.sort_package_list(self.find_packages(p.get_cp(), self.SET_INSTALLED))
@@ -356,7 +356,7 @@ class PortageSystem (SystemInterface):
if i not in raw_checked or raw_checked[i] == False:
raw_checked.update({i : state[1]})
bm = self.get_new_packages([i])
- if not bm:
+ if not bm:
warning(_("Bug? No best match could be found for '%(package)s'. Needed by: '%(cpv)s'."), {"package" : i, "cpv": p.get_cpv()})
else:
for pkg in bm: