From: Zac Medico Date: Sat, 9 Oct 2010 01:03:52 +0000 (-0700) Subject: Use EAPI to validate best/has_version atoms. X-Git-Tag: v2.2_rc92~12 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d020dfe15a17abff3ecb6cd0958011ad6b09a14b;p=portage.git Use EAPI to validate best/has_version atoms. --- 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)