aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gmail.com>2015-02-21 04:01:16 -0500
committerTim Harder <radhermit@gmail.com>2015-02-21 04:01:16 -0500
commitbfb4d4bbf331bf9756adb71355548414529ecc0b (patch)
tree22f397f277ed0b1067876ab8969570073d99ee03
parentpmerge: allow glob arguments instead of just atoms or pkg names (diff)
downloadpkgcore-bfb4d4bbf331bf9756adb71355548414529ecc0b.tar.gz
pkgcore-bfb4d4bbf331bf9756adb71355548414529ecc0b.tar.bz2
pkgcore-bfb4d4bbf331bf9756adb71355548414529ecc0b.zip
pmerge: use more readable variants of restrictions for error messages
These should still be improved to pull out the original query strings if possible.
-rw-r--r--pkgcore/scripts/pmerge.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgcore/scripts/pmerge.py b/pkgcore/scripts/pmerge.py
index bb25f191..ad898c3c 100644
--- a/pkgcore/scripts/pmerge.py
+++ b/pkgcore/scripts/pmerge.py
@@ -468,11 +468,11 @@ def main(options, out, err):
if a is None:
if token in config.pkgset:
out.error(
- 'No package matches %r, but there is a set with '
+ 'No package matches %s, but there is a set with '
'that name. Use -s to specify a set.' % (token,))
return 2
elif not options.ignore_failures:
- out.error('No matches for %r; ignoring it' % token)
+ out.error('No matches for %s; ignoring it' % token)
else:
return -1
else: