summaryrefslogtreecommitdiffstats
path: root/pym/portage/dbapi/__init__.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-11-30 16:46:52 -0800
committerZac Medico <zmedico@gentoo.org>2010-11-30 16:46:52 -0800
commita4976af2dc54db01a0c094e021ed8a776969c878 (patch)
tree92acd858aec32eae8608b43dcaf12a8e6bd4effe /pym/portage/dbapi/__init__.py
parent4deaa35787bfc52ec937f7ba9714706d9ac20da2 (diff)
downloadportage-a4976af2dc54db01a0c094e021ed8a776969c878.tar.gz
portage-a4976af2dc54db01a0c094e021ed8a776969c878.tar.bz2
portage-a4976af2dc54db01a0c094e021ed8a776969c878.zip
fix AttributeError in recent use dep changes
Diffstat (limited to 'pym/portage/dbapi/__init__.py')
-rw-r--r--pym/portage/dbapi/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pym/portage/dbapi/__init__.py b/pym/portage/dbapi/__init__.py
index 4534cc731..94fbc47b0 100644
--- a/pym/portage/dbapi/__init__.py
+++ b/pym/portage/dbapi/__init__.py
@@ -171,7 +171,9 @@ class dbapi(object):
break
if missing_iuse:
continue
- if not self._use_mutable:
+ if not atom.use:
+ pass
+ elif not self._use_mutable:
missing_enabled = atom.use.missing_enabled.difference(iuse)
missing_disabled = atom.use.missing_disabled.difference(iuse)