From d020dfe15a17abff3ecb6cd0958011ad6b09a14b Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 8 Oct 2010 18:03:52 -0700 Subject: [PATCH] Use EAPI to validate best/has_version atoms. --- pym/portage/package/ebuild/_ipc/QueryCommand.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/package/ebuild/_ipc/QueryCommand.py b/pym/portage/package/ebuild/_ipc/QueryCommand.py index 1afe886aa..59663b1d9 100644 --- a/pym/portage/package/ebuild/_ipc/QueryCommand.py +++ b/pym/portage/package/ebuild/_ipc/QueryCommand.py @@ -27,7 +27,7 @@ class QueryCommand(IpcCommand): cmd, root, atom = argv try: - atom = Atom(atom) + atom = Atom(atom, eapi=self.settings.get('EAPI')) except InvalidAtom: return ('', 'invalid atom: %s\n' % atom, 2) -- 2.26.2