should read:

    try:
      try:
        import gconf
        gconfClient = gconf.client_get_default()
        useDbus = gconfClient.get_bool("/desktop/gnome/interface/at-spi-dbus")
      except:
        useDbus = False
    finally:
      del gconfClient
      del gconf

this worked for me, although i don't understand how this occured,
default python version on my system is 2.6 -- which already allows try …
except … finally

-- 
package python-pyatspi 1.29.5-0ubuntu1 failed to install/upgrade: invalid 
syntax error for python2.4
https://bugs.launchpad.net/bugs/506357
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to