mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-25 07:35:22 +00:00
libxml2 artifact cleaned
This commit is contained in:
parent
db67157907
commit
5e2144b113
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ class wvmNetwork(wvmConnect):
|
||||||
result = []
|
result = []
|
||||||
for net in doc.xpath('/network/ip/dhcp/host'):
|
for net in doc.xpath('/network/ip/dhcp/host'):
|
||||||
host = net.xpath('@ip')[0]
|
host = net.xpath('@ip')[0]
|
||||||
mac = net.xpathEval('@mac')[0]
|
mac = net.xpath('@mac')[0]
|
||||||
result.append({'host': host, 'mac': mac})
|
result.append({'host': host, 'mac': mac})
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue