Fix for cornice.ext.sphinxext to be compatible with Python 3 - replaced "dict.has_key(x)" with "x in dict".