Oops! I got excited and didn't think that through.
Instead of the one line add these lines:
try:
import appindicator # should only be available in Unity (and KDE?)
have_appindicator = True
except:
have_appindicator = False
print "have_appindicator", have_appindicator
Notice no idents on try and except or print. Other lines indented 4 spaces.
Oops! I got excited and didn't think that through.
Instead of the one line add these lines:
try: appindicator = True appindicator = False tor", have_appindicator
import appindicator # should only be available in Unity (and KDE?)
have_
except:
have_
print "have_appindica
Notice no idents on try and except or print. Other lines indented 4 spaces.