Typos in exception messages
authorPanu Matilainen <pmatilai@redhat.com>
Sat, 21 Nov 2009 08:55:24 +0000 (10:55 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Sat, 21 Nov 2009 08:55:24 +0000 (10:55 +0200)
python/rpm/transaction.py

index aee44cc..2c836f3 100644 (file)
@@ -144,7 +144,7 @@ class TransactionSet(_rpmts):
         res, msg = _rpmts.hdrCheck(self, blob)
         # generate backwards compatibly broken exceptions
         if res == rpm.RPMRC_NOKEY:
-            raise rpm.error("public key not availaiable")
+            raise rpm.error("public key not available")
         elif res == rpm.RPMRC_NOTTRUSTED:
             raise rpm.error("public key not trusted")
         elif res != rpm.RPMRC_OK:
@@ -154,7 +154,7 @@ class TransactionSet(_rpmts):
         res, h = _rpmts.hdrFromFdno(self, fd)
         # generate backwards compatibly broken exceptions
         if res == rpm.RPMRC_NOKEY:
-            raise rpm.error("public key not availaiable")
+            raise rpm.error("public key not available")
         elif res == rpm.RPMRC_NOTTRUSTED:
             raise rpm.error("public key not trusted")
         elif res != rpm.RPMRC_OK: