From 06c993d5509772c82a407cce35df6245073bb14c Mon Sep 17 00:00:00 2001
From: Stephen Finucane <sfinucan@redhat.com>
Date: Thu, 16 Mar 2017 14:57:55 +0000
Subject: [PATCH] tox: Build docs with Python 2.7

The 'list-modules' directive used in some docs does not appear to be
Python 3 compatible, yielding the following error:

  TypeError: unorderable types: NoneType() < str()

Simply use Python 2.7 until such a time as someone wants to investigate
why this happens.

Change-Id: I0be19b056e1c2272df3666626fbd17ec78017bce
---
 tox.ini | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tox.ini b/tox.ini
index dc4cbaf53..1072b79a6 100644
--- a/tox.ini
+++ b/tox.ini
@@ -26,6 +26,7 @@ commands =
 commands = {posargs}
 
 [testenv:docs]
+basepython = python2.7
 commands = python setup.py build_sphinx
 
 [testenv:py27-func-rabbit]