Browse Source

Fixed the include statement of elementtree for python2.5

master
Andrea Luzzardi 17 years ago
parent
commit
2a7a98cffe
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      pam_usb/tools/pamusb-agent

+ 1
- 1
pam_usb/tools/pamusb-agent View File

@ -27,7 +27,7 @@ if getattr(dbus, 'version', (0,0,0)) >= (0,41,0):
try: try:
import cElementTree as et import cElementTree as et
except ImportError: except ImportError:
import elementtree.ElementTree as et
import xml.etree.ElementTree as et
class HotPlugDevice: class HotPlugDevice:
def __init__(self, serial): def __init__(self, serial):


Loading…
Cancel
Save