From 0f07531fa54158a84ca0105b7652ffd9a3f2986e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 25 Sep 2012 20:47:39 -0700 Subject: [PATCH] update_ents: use Package._dep_keys --- pym/portage/dbapi/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pym/portage/dbapi/__init__.py b/pym/portage/dbapi/__init__.py index b7c0c7b0d..dbba22cd7 100644 --- a/pym/portage/dbapi/__init__.py +++ b/pym/portage/dbapi/__init__.py @@ -19,6 +19,7 @@ from portage import auxdbkeys from portage.eapi import _get_eapi_attrs from portage.exception import InvalidData from portage.localization import _ +from _emerge.Package import Package class dbapi(object): _category_re = re.compile(r'^\w[-.+\w]*$', re.UNICODE) @@ -290,8 +291,7 @@ class dbapi(object): maxval = len(cpv_all) aux_get = self.aux_get aux_update = self.aux_update - meta_keys = ["DEPEND", "EAPI", "HDEPEND", - "PDEPEND", "PROVIDE", "RDEPEND", 'repository'] + meta_keys = Package._dep_keys + ("EAPI", "PROVIDE", "repository") repo_dict = None if isinstance(updates, dict): repo_dict = updates -- 2.26.2