Bug 493787

Summary: Cannot find the python method equivalent of virSaveLastError and virFreeError
Product: Red Hat Enterprise Linux 5 Reporter: Nan Zhang <nzhang>
Component: libvirtAssignee: Daniel Veillard <veillard>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 5.4CC: berrange, virt-maint, xen-maint
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-03 09:26:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nan Zhang 2009-04-03 04:53:34 UTC
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 Berrangé 2009-04-03 09:26:45 UTC
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.