commit | ccb152d532d611228f52fc4e6194b8f30e929be4 | [log] [tgz] |
---|---|---|
author | Monty Taylor <mordred@inaugust.com> | Wed Dec 18 10:54:48 2019 -0500 |
committer | Monty Taylor <mordred@inaugust.com> | Wed Dec 18 10:55:16 2019 -0500 |
tree | e034d7b9b018dba52ca51a1cf6ff7f068a7565b6 | |
parent | 12bd0e0f358adfae7fdb43c02de853f519fca50a [diff] |
Fix create_hound_config for python3 pep8 did a business! Change-Id: I1ffc99e30a0b5fc41c1f2485546b10553c525915
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