Trying to make my additions to conf.py Py2 compatible