ericholscher/readthedocs-sphinx-ext — pull request #1 by waveform80 (2013-10-27 21:52:26+00:00)
Title: Python 3 compat

dict.has_key was removed in Python 3 in favour of the "in" operator; hopefully this change will be sufficient to squash a build error I'm seeing with a project on RTD which is being built with Python 3:

```
Exception occurred:
File "/home/docs/checkouts/readthedocs.org/user_builds/picamera/envs/latest/lib/python3.3/site-packages/readthedocs_ext/readthedocs.py", line 44, in init
if context.has_key('current_version'):
AttributeError: 'dict' object has no attribute 'has_key'
The full traceback has been saved in /tmp/sphinx-err-ogwsym.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
Either send bugs to the mailing list at ,
or report them in the tracker at . Thanks!
```