libguestfs/0041-python-Fix-exception-name-in-example.patch
Richard W.M. Jones d9b4d60317 Remove bundled ocaml-augeas
resolves: RHEL-32142
2024-06-20 12:52:43 +01:00

25 lines
964 B
Diff

From 1438bf8a356303f8545f2beb89aa97b71f0b1ded Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Tue, 12 Mar 2024 14:08:03 +0000
Subject: [PATCH] python: Fix exception name in example
Fixes: https://github.com/libguestfs/libguestfs/issues/138
(cherry picked from commit 1d760b0d8ffc4229738e86cda9559a057439a161)
---
python/examples/guestfs-python.pod | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/python/examples/guestfs-python.pod b/python/examples/guestfs-python.pod
index 03ff2ba8..6bd420db 100644
--- a/python/examples/guestfs-python.pod
+++ b/python/examples/guestfs-python.pod
@@ -29,7 +29,7 @@ In a future version of libguestfs, this will become the default.
=head2 EXCEPTIONS
-Errors from libguestfs functions are mapped into C<RuntimeException>
+Errors from libguestfs functions are mapped into C<RuntimeError>
with a single string argument which is the error message.
=head2 MORE DOCUMENTATION