|
@ -158,7 +158,7 @@ events = { |
|
|
for hotplug in user.findall('agent'): |
|
|
for hotplug in user.findall('agent'): |
|
|
events[hotplug.get('event')].append(hotplug.text) |
|
|
events[hotplug.get('event')].append(hotplug.text) |
|
|
|
|
|
|
|
|
deviceName = user.find('device').text |
|
|
|
|
|
|
|
|
deviceName = user.find('device').text.strip() |
|
|
|
|
|
|
|
|
devices = doc.findall("devices/device") |
|
|
devices = doc.findall("devices/device") |
|
|
for device in devices: |
|
|
for device in devices: |
|
|