diff options
author | Kenny Woodson <kwoodson@redhat.com> | 2016-01-21 15:28:14 -0500 |
---|---|---|
committer | Kenny Woodson <kwoodson@redhat.com> | 2016-01-21 15:28:14 -0500 |
commit | 964178acf7929b9e52f6fed6783ca8210701b40e (patch) | |
tree | 1e4b212f92773297ace5ee2220a161981fb6de5c | |
parent | c9cb65c9110781ca57d68306bf7bd7f918c3525e (diff) | |
download | openshift-964178acf7929b9e52f6fed6783ca8210701b40e.tar.gz openshift-964178acf7929b9e52f6fed6783ca8210701b40e.tar.bz2 openshift-964178acf7929b9e52f6fed6783ca8210701b40e.tar.xz openshift-964178acf7929b9e52f6fed6783ca8210701b40e.zip |
Skipping any symlinks for the yaml validation check
-rwxr-xr-x | git/yaml_validation.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/yaml_validation.py b/git/yaml_validation.py index 94b8b0435..2b5c8ed49 100755 --- a/git/yaml_validation.py +++ b/git/yaml_validation.py @@ -47,7 +47,7 @@ def main(): print "+++++++ Received: %s" % file_mod - if not file_mod.endswith('.yml') and not file_mod.endswith('.yaml'): + if not file_mod.endswith('.yml') and not file_mod.endswith('.yaml') and not os.path.islink(file_mod): continue try: |