You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by "Brian Mingus (JIRA)" <ji...@apache.org> on 2013/08/20 18:14:51 UTC
[jira] [Created] (LIBCLOUD-376) vcloud.py:~1496 assumes IpAddress
and MACAddress fields exist, but they don't necessarily
Brian Mingus created LIBCLOUD-376:
-------------------------------------
Summary: vcloud.py:~1496 assumes IpAddress and MACAddress fields exist, but they don't necessarily
Key: LIBCLOUD-376
URL: https://issues.apache.org/jira/browse/LIBCLOUD-376
Project: Libcloud
Issue Type: Bug
Components: Compute
Affects Versions: 0.12.3
Environment: LibCloud 0.13
Reporter: Brian Mingus
Adding these try/except blocks fixed it.
try:
network_conn_xml.remove(
network_conn_xml.find(fixxpath(network_xml, 'IpAddress')))
except:
None
try:
network_conn_xml.remove(
network_conn_xml.find(fixxpath(network_xml, 'MACAddress')))
except:
None
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira