From 32e7fdb6326b45439cc422b3fbcb28120fd529c4 Mon Sep 17 00:00:00 2001
From: Adam Coldrick <adam.coldrick@codethink.co.uk>
Date: Wed, 22 May 2019 13:38:48 +0100
Subject: [PATCH] Install compatible version of python-openid when using Python
 2

Change-Id: Ifd8b3c115e810e1c1d4c9b41091ad65db734c232
---
 requirements.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/requirements.txt b/requirements.txt
index cddc49b0..101c09b9 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -11,7 +11,8 @@ pecan>=0.4.5
 oslo.db>=4.27.0  # Apache-2.0
 oslo.log>=1.0.0
 pika>=0.9.14
-python3-openid
+python-openid ; python_version < '3.0'
+python3-openid ; python_version >= '3.0'
 PyYAML>=3.1.0
 requests>=1.1
 six>=1.7.0