diff options
-rw-r--r-- | pkgcore/scripts/pmerge.py | 4 | ||||
-rw-r--r-- | pkgcore/test/scripts/test_pmerge.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/pkgcore/scripts/pmerge.py b/pkgcore/scripts/pmerge.py index 0e3169f19..a4ddac266 100644 --- a/pkgcore/scripts/pmerge.py +++ b/pkgcore/scripts/pmerge.py @@ -333,7 +333,7 @@ def _validate(parser, namespace): namespace.deep = True if namespace.usepkgonly or namespace.usepkg or namespace.source_only: parser.error( - '--clean cannot be used with any of the following namespace: ' + '--clean cannot be used with any of the following options: ' '--usepkg --usepkgonly --source-only') elif namespace.usepkgonly and namespace.usepkg: parser.error('--usepkg is redundant when --usepkgonly is used') @@ -475,7 +475,7 @@ def main(options, out, err): 'that name. Use -s to specify a set.' % (token,)) return 2 elif not options.ignore_failures: - out.error('No matches for %s; ignoring it' % token) + out.error('No matches for %s; ignoring it' % (token,)) else: return -1 else: diff --git a/pkgcore/test/scripts/test_pmerge.py b/pkgcore/test/scripts/test_pmerge.py index 38f48d14e..9927e7487 100644 --- a/pkgcore/test/scripts/test_pmerge.py +++ b/pkgcore/test/scripts/test_pmerge.py @@ -14,7 +14,7 @@ default_formatter = basics.HardCodedConfigSection({ }) -class AtomParsingTest(TestCase): +class TargetParsingTest(TestCase): def test_parse_target(self): repo = util.SimpleTree({'spork': {'foon': ('1', '1.0.1', '2')}}) |