From: Zac Medico Date: Fri, 6 Aug 2010 07:24:16 +0000 (-0700) Subject: Pass more parameters to the Package constructor. X-Git-Tag: v2.2_rc68~387 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e7c68e7d1c53b5ece656fffae66be5a6f7c13e25;p=portage.git Pass more parameters to the Package constructor. --- diff --git a/pym/_emerge/unmerge.py b/pym/_emerge/unmerge.py index c8ad7a2ea..5b466e2d6 100644 --- a/pym/_emerge/unmerge.py +++ b/pym/_emerge/unmerge.py @@ -40,9 +40,9 @@ def unmerge(root_config, myopts, unmerge_action, def _pkg(cpv): pkg = pkg_cache.get(cpv) if pkg is None: - pkg = Package(cpv=cpv, installed=True, + pkg = Package(built=True, cpv=cpv, installed=True, metadata=zip(db_keys, vartree.dbapi.aux_get(cpv, db_keys)), - root_config=root_config, + operation="uninstall", root_config=root_config, type_name="installed") pkg_cache[cpv] = pkg return pkg