summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>2011-11-07 21:11:31 +0100
committerArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>2011-11-07 21:11:31 +0100
commit36bdacd2807d0ab6cfecc590426df52c7b1c29d8 (patch)
tree08f7c91ab4c93ea94d53465bbf0494182986aa73 /pym/_emerge
parentb58e5fd407c8726fd2ffe674444255aab9ae0010 (diff)
downloadportage-36bdacd2807d0ab6cfecc590426df52c7b1c29d8.tar.gz
portage-36bdacd2807d0ab6cfecc590426df52c7b1c29d8.tar.bz2
portage-36bdacd2807d0ab6cfecc590426df52c7b1c29d8.zip
Allow repository dependencies in command line arguments for --config and --info actions.
Diffstat (limited to 'pym/_emerge')
-rw-r--r--pym/_emerge/actions.py2
-rw-r--r--pym/_emerge/main.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py
index af3780e70..4a72ff471 100644
--- a/pym/_emerge/actions.py
+++ b/pym/_emerge/actions.py
@@ -461,7 +461,7 @@ def action_config(settings, trees, myopts, myfiles):
if len(myfiles) != 1:
print(red("!!! config can only take a single package atom at this time\n"))
sys.exit(1)
- if not is_valid_package_atom(myfiles[0]):
+ if not is_valid_package_atom(myfiles[0], allow_repo=True):
portage.writemsg("!!! '%s' is not a valid package atom.\n" % myfiles[0],
noiselevel=-1)
portage.writemsg("!!! Please check ebuild(5) for full details.\n")
diff --git a/pym/_emerge/main.py b/pym/_emerge/main.py
index d4a6bd30f..e2e12c650 100644
--- a/pym/_emerge/main.py
+++ b/pym/_emerge/main.py
@@ -1962,7 +1962,7 @@ def emerge_main(args=None):
bindb = trees[settings['EROOT']]["bintree"].dbapi
valid_atoms = []
for x in myfiles:
- if is_valid_package_atom(x):
+ if is_valid_package_atom(x, allow_repo=True):
try:
#look at the installed files first, if there is no match
#look at the ebuilds, since EAPI 4 allows running pkg_info