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.1.9.15~18 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9454ba04f9ba06bfba2bf2fca6f5a2cf1b1b9d20;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)