From e30ccc35259ae395895feb760b8ca63c8680b7d6 Mon Sep 17 00:00:00 2001 From: Andrea Luzzardi Date: Thu, 29 Mar 2007 22:13:02 +0000 Subject: [PATCH] Small fix --- tools/pamusb-agent | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/pamusb-agent b/tools/pamusb-agent index 75eb71b..100ccfe 100755 --- a/tools/pamusb-agent +++ b/tools/pamusb-agent @@ -158,7 +158,7 @@ events = { for hotplug in user.findall('agent'): events[hotplug.get('event')].append(hotplug.text) -deviceName = user.find('device').text +deviceName = user.find('device').text.strip() devices = doc.findall("devices/device") for device in devices: