Usage of NullHandler breaks python 2.6
Created originally on Bitbucket by datallah (Daniel Atallah)
The changes introduced in #36 (closed) / 091834ef2c2b break python 2.6 compatibility - NullHandler wasn't added until python 2.7.
Wrapping the usage in a try and ignoring it seems to work fine
#!python
try:
import logging
logging.getLogger("keyring").addHandler(logging.NullHandler())
except:
pass