Comment 5 for bug 506357

Revision history for this message
Daniel Knittl-Frank (knittl) wrote :

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