commit:     183ffa12e8c03080feeaab2f5bf8907f6a011fd6
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 23 01:23:37 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 26 11:17:13 2022 +0000
URL:        
https://gitweb.gentoo.org/proj/pkgcore/pkgcore.git/commit/?id=183ffa12

pkgcore: atom: fix typo in error message

Signed-off-by: Sam James <sam <AT> gentoo.org>
Closes: https://github.com/pkgcore/pkgcore/pull/378
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 src/pkgcore/ebuild/atom.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/pkgcore/ebuild/atom.py b/src/pkgcore/ebuild/atom.py
index f8a24d61f..88de97e87 100644
--- a/src/pkgcore/ebuild/atom.py
+++ b/src/pkgcore/ebuild/atom.py
@@ -253,7 +253,7 @@ class atom(boolean.AndRestriction, 
metaclass=klass.generic_equality):
                 raise errors.MalformedAtom(orig_atom, "operator requires a 
version")
             elif self.op == '~' and self.revision:
                 raise errors.MalformedAtom(orig_atom,
-                    "~ revision operater cannot be combined with a revision")
+                    "~ revision operator cannot be combined with a revision")
         elif self.version is not None:
             raise errors.MalformedAtom(orig_atom, 'versioned atom requires an 
operator')
         sf(self, "_hash", hash(orig_atom))

Reply via email to