This little sample works on my machine and it prints "1" followed by "2"
(python --version returns "Python 2.6.3"):

try:
        print "1"
        from xml.etree import ElementTree as et
        print "2"
except:
        print "3"
        from elementtree import ElementTree as et
        print "4"
x = et.Element('timerapplet')

-- 
timer-applet crashed with AttributeError: 'module' object has no attribute 
'Element'
https://bugs.launchpad.net/bugs/445549
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to