Fix error path for tools/process-templates.py
authorSteven Hardy <shardy@redhat.com>
Wed, 11 Jan 2017 11:47:11 +0000 (11:47 +0000)
committerSteven Hardy <shardy@redhat.com>
Wed, 11 Jan 2017 11:47:11 +0000 (11:47 +0000)
The error path for this fails because we don't import six
or install it in the templates tox venv

Change-Id: Ie9f46332f2b03d48a1b0a4a432e9721757833569

requirements.txt
test-requirements.txt
tools/process-templates.py

index 3f15762..555b240 100644 (file)
@@ -3,3 +3,4 @@
 # process, which may cause wedges in the gate later.
 pbr>=1.8 # Apache-2.0
 Jinja2>=2.8 # BSD License (3 clause)
+six>=1.9.0 # MIT
index 6489b16..faf4893 100644 (file)
@@ -2,3 +2,5 @@
 # of appearance. Changing the order has an impact on the overall integration
 # process, which may cause wedges in the gate later.
 PyYAML>=3.10.0 # MIT
+Jinja2>=2.8 # BSD License (3 clause)
+six>=1.9.0 # MIT
index a15b00e..9a06812 100755 (executable)
@@ -14,6 +14,7 @@
 import argparse
 import jinja2
 import os
+import six
 import sys
 import yaml