|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
[Xen-devel] using xen tools with python2.6
 
there are at least some syntax errors when trying to use the xen utils with 
python2.6.  The attached patch changes these string exception into ValueError's.
 - tools/python/xen/util/bugtool.py (getBugTitle)
 - tools/python/xen/xend (class XendBase): not catched
 - tools/python/xen/xm/xenapi_create.py (sxp2xmlconvert_sxp_to_xml):
   the method already raises a ValueError for similiar condition.
 - tools/python/xen/xm/main.py (xm_network_attach): not catched.
 For all but maybe the first one, the replacement of the string exceptions into 
ValueError's seems to be safe.
  Matthias
 
 
tools-python2.6.diff 
Description: Text document 
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread>
 |  
- [Xen-devel] using xen tools with python2.6,
Matthias Klose <=
 
 
 |  
  
 | 
    | 
  
  
    |   | 
    |