summaryrefslogtreecommitdiff
path: root/portato/backend/portage_helper.py
diff options
context:
space:
mode:
authornecoro <>2006-12-12 18:10:24 +0000
committernecoro <>2006-12-12 18:10:24 +0000
commite24a27421f04df124425499babe660db15246985 (patch)
tree87d210c6e15b98f278d8abffbdf0faf2a8a3c771 /portato/backend/portage_helper.py
parentabfe2432678325823cbbd383b5daf3a1d5c6df87 (diff)
downloadportato-e24a27421f04df124425499babe660db15246985.tar.gz
portato-e24a27421f04df124425499babe660db15246985.tar.bz2
portato-e24a27421f04df124425499babe660db15246985.zip
fixed small bug #3
Diffstat (limited to 'portato/backend/portage_helper.py')
-rw-r--r--portato/backend/portage_helper.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/portato/backend/portage_helper.py b/portato/backend/portage_helper.py
index 10ab9fa..af8f128 100644
--- a/portato/backend/portage_helper.py
+++ b/portato/backend/portage_helper.py
@@ -376,14 +376,12 @@ def update_world (newuse = False, deep = False):
appended = True
p = old
- if newuse:
+ if newuse and p.is_in_system(): # there is no use to check newuse for a package which is not existing anymore in portage :)
new_iuse = set(p.get_all_use_flags(installed = False)) # IUSE in the ebuild
old_iuse = set(p.get_all_use_flags(installed = True)) # IUSE in the vardb
if new_iuse.symmetric_difference(old_iuse): # difference between new_iuse and old_iuse
- debug(p.get_cpv(),"old:",old_iuse)
- debug(p.get_cpv(),"new:",new_iuse)
tempDeep = True
if not appended:
updating.append((p,p))
@@ -407,7 +405,9 @@ def update_world (newuse = False, deep = False):
if not bm:
debug("Bug? No best match could be found:",i)
else:
- for p in bm: check(p)
+ for p in bm:
+ if not p: continue
+ check(p)
for p in get_new_packages(packages):
if not p: continue # if a masked package is installed we have "None" here
2008-01-18 r651@Devoty: necoro | 2008-01-18 02:41:51 +0100Necoro3-393/+513 2008-01-18 r643@Devoty: necoro | 2008-01-16 18:55:49 +0100Necoro14-249/+525 2008-01-14 r634@Devoty: necoro | 2008-01-14 23:48:24 +0100Necoro3-1/+4 2008-01-14 r632@Devoty: necoro | 2008-01-14 23:44:52 +0100Necoro3-175/+181 2008-01-14(no commit message)Necoro10-758/+1014 2008-01-14 r621@Devoty: necoro | 2008-01-14 20:21:40 +0100Necoro2-21/+61 2008-01-14 r618@Devoty: necoro | 2008-01-14 20:19:05 +0100Necoro2-35/+57 2008-01-14 r617@Devoty: necoro | 2008-01-14 19:12:59 +0100Necoro2-10/+10 2008-01-14 r609@Devoty: necoro | 2008-01-14 17:04:38 +0100Necoro9-394/+477 2008-01-14 r605@Devoty: necoro | 2008-01-14 11:43:34 +0100Necoro2-26/+129 2008-01-14 r603@Devoty: necoro | 2008-01-14 11:30:26 +0100Necoro4-26/+38 2008-01-11 r598@Devoty: necoro | 2008-01-10 16:36:29 +0100Necoro4-10/+50 2008-01-11 r597@Devoty: necoro | 2008-01-10 14:12:35 +0100Necoro1-3/+3 2008-01-10 r595@Devoty: necoro | 2008-01-10 04:04:15 +0100Necoro1-52/+3 2008-01-09 r586@Devoty: necoro | 2008-01-09 14:54:18 +0100Necoro1-1/+1 2007-12-06 r577@Devoty: necoro | 2007-12-06 20:37:36 +0100Necoro1-1/+1 2007-12-06 r572@Devoty: necoro | 2007-11-28 08:48:15 +0100Necoro1-0/+1 2007-11-27 r570@Devoty: necoro | 2007-11-27 02:08:21 +0100Necoro3-84/+108