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
should read:
try: get_default( ) get_bool( "/desktop/ gnome/interface /at-spi- dbus")
try:
import gconf
gconfClient = gconf.client_
useDbus = gconfClient.
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