Use Package.metadata instead of calling dbapi.aux_get().
authorZac Medico <zmedico@gentoo.org>
Thu, 29 May 2008 23:31:54 +0000 (23:31 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 29 May 2008 23:31:54 +0000 (23:31 -0000)
svn path=/main/trunk/; revision=10491

pym/_emerge/__init__.py

index df29f0462ce6a878d54b1fe11d0b98c747bac328..7aaefbf2bc7361ecda2e26bd1ac4733fa6718225 100644 (file)
@@ -5228,8 +5228,7 @@ class depgraph(object):
                        pkg_type, root, pkg_key, pkg_status = x
                        if pkg_status != "nomerge":
                                continue
-                       metadata = izip(self._mydbapi_keys,
-                               self.mydbapi[root].aux_get(pkg_key, self._mydbapi_keys))
+                       metadata = x.metadata
                        try:
                                myfavkey = create_world_atom(pkg_key, metadata,
                                        args_set, root_config)