libguestfs/0042-python-Fix-exception-name-in-example.patch
Richard W.M. Jones 1574b7d34d Add support for nbd+unix:// URIs
resolves: RHEL-33851
2024-04-24 16:15:12 +01:00

25 lines
964 B
Diff

From 25adec46d2b2042aa8c58b8c6103a9aa195d046a 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