From 2a7a98cffe78e66085c80956378c96dd2dd9c4fe Mon Sep 17 00:00:00 2001 From: Andrea Luzzardi Date: Mon, 2 Jul 2007 23:17:43 +0000 Subject: [PATCH] Fixed the include statement of elementtree for python2.5 --- 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 5d512e1..4d5742f 100755 --- a/pam_usb/tools/pamusb-agent +++ b/pam_usb/tools/pamusb-agent @@ -27,7 +27,7 @@ if getattr(dbus, 'version', (0,0,0)) >= (0,41,0): try: import cElementTree as et except ImportError: - import elementtree.ElementTree as et + import xml.etree.ElementTree as et class HotPlugDevice: def __init__(self, serial):