diff options
author | Jason DeTiberus <detiber@gmail.com> | 2017-02-20 12:34:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-20 12:34:30 -0500 |
commit | bc26f6b0fc90d4501161e16dcf68130d03ca06a7 (patch) | |
tree | a5113c1cb59ee2eab3eabde01aed46501a7f34b3 /setup.py | |
parent | 9492616511632c26bf42f786c6fba5f40f15d4d9 (diff) | |
parent | 0d6535242db07968206b3af15046f62a30748449 (diff) | |
download | openshift-bc26f6b0fc90d4501161e16dcf68130d03ca06a7.tar.gz openshift-bc26f6b0fc90d4501161e16dcf68130d03ca06a7.tar.bz2 openshift-bc26f6b0fc90d4501161e16dcf68130d03ca06a7.tar.xz openshift-bc26f6b0fc90d4501161e16dcf68130d03ca06a7.zip |
Merge pull request #3426 from rhcarvalho/fix-code-gen-validation
Fix validation of generated code
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -13,6 +13,7 @@ import yaml from setuptools import setup, Command from setuptools_lint.setuptools_command import PylintCommand from six import string_types +from six.moves import reload_module from yamllint.config import YamlLintConfig from yamllint.cli import Format from yamllint import linter @@ -185,6 +186,7 @@ class OpenShiftAnsibleGenerateValidation(Command): # the python path. # pylint: disable=import-error import generate + reload_module(generate) generate.verify() except generate.GenerateAnsibleException as gae: print(gae.args) |