From 51822b8fae4428c7c36a343a381d520f5e1d2d33 Mon Sep 17 00:00:00 2001 From: Andrea Luzzardi Date: Thu, 29 Mar 2007 22:14:29 +0000 Subject: [PATCH] Strip data from xml --- pam_usb/tools/pamusb-agent | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pam_usb/tools/pamusb-agent b/pam_usb/tools/pamusb-agent index 100ccfe..99eb4aa 100755 --- a/pam_usb/tools/pamusb-agent +++ b/pam_usb/tools/pamusb-agent @@ -168,7 +168,7 @@ else: logger.error('Device %s not found in configurtion file' % deviceName) sys.exit(1) -serial = device.find('serial').text +serial = device.find('serial').text.strip() def authChangeCallback(event): if event == 'removed':