From ccb152d532d611228f52fc4e6194b8f30e929be4 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Wed, 18 Dec 2019 10:54:48 -0500 Subject: [PATCH] Fix create_hound_config for python3 pep8 did a business! Change-Id: I1ffc99e30a0b5fc41c1f2485546b10553c525915 --- jeepyb/cmd/create_hound_config.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/jeepyb/cmd/create_hound_config.py b/jeepyb/cmd/create_hound_config.py index 2a2ef89..9f1275f 100644 --- a/jeepyb/cmd/create_hound_config.py +++ b/jeepyb/cmd/create_hound_config.py @@ -19,6 +19,12 @@ import json import os +# Python2 has unicode as a builtin +# Python3 does not +import sys +if sys.version_info[0] >= 3: + unicode = str + import jeepyb.utils as u