summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/package/ebuild/_ipc/QueryCommand.py2
1 files changed, 1 insertions, 1 deletions
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)