From d0b0f74940911b14d2585c40627a1b9fef882a07 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 --- tools/pamusb-agent | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/pamusb-agent b/tools/pamusb-agent index 5d512e1..4d5742f 100755 --- a/tools/pamusb-agent +++ b/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):