1 |
commit: 183ffa12e8c03080feeaab2f5bf8907f6a011fd6 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 23 01:23:37 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 26 11:17:13 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcore.git/commit/?id=183ffa12 |
7 |
|
8 |
pkgcore: atom: fix typo in error message |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
Closes: https://github.com/pkgcore/pkgcore/pull/378 |
12 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
13 |
|
14 |
src/pkgcore/ebuild/atom.py | 2 +- |
15 |
1 file changed, 1 insertion(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/src/pkgcore/ebuild/atom.py b/src/pkgcore/ebuild/atom.py |
18 |
index f8a24d61f..88de97e87 100644 |
19 |
--- a/src/pkgcore/ebuild/atom.py |
20 |
+++ b/src/pkgcore/ebuild/atom.py |
21 |
@@ -253,7 +253,7 @@ class atom(boolean.AndRestriction, metaclass=klass.generic_equality): |
22 |
raise errors.MalformedAtom(orig_atom, "operator requires a version") |
23 |
elif self.op == '~' and self.revision: |
24 |
raise errors.MalformedAtom(orig_atom, |
25 |
- "~ revision operater cannot be combined with a revision") |
26 |
+ "~ revision operator cannot be combined with a revision") |
27 |
elif self.version is not None: |
28 |
raise errors.MalformedAtom(orig_atom, 'versioned atom requires an operator') |
29 |
sf(self, "_hash", hash(orig_atom)) |