Bug 493787 - Cannot find the python method equivalent of virSaveLastError and virFreeError
Cannot find the python method equivalent of virSaveLastError and virFreeError
Status: CLOSED NOTABUG
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: libvirt (Show other bugs)
5.4
All Linux
low Severity medium
: rc
: ---
Assigned To: Daniel Veillard
Virtualization Bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-04-03 00:53 EDT by Nan Zhang
Modified: 2009-12-14 16:23 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-04-03 05:26:45 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Nan Zhang 2009-04-03 00:53:34 EDT
Description of problem:
No relevant python method virSaveLastError and virFreeError were defined in "/usr/lib64/python2.4/site-packages/libvirt.py"

Version-Release number of selected component (if applicable):
libvirt-0.6.1-4.el5

How reproducible:
Always

Steps to Reproduce:
N/A
  
Actual results:
N/A

Expected results:
N/A

Additional info:
Not sure if it's the skipped function.
Comment 1 Daniel Berrange 2009-04-03 05:26:45 EDT
There is no need for these functions to be exposed in the python layer. All libvirt errors that are reported, are immediately converted into python exception objects and raised. The caller can catch these exceptions as required.

Note You need to log in before you can comment on or make changes to this bug.