diff options
author | Kenny Woodson <kwoodson@redhat.com> | 2016-01-21 15:29:44 -0500 |
---|---|---|
committer | Kenny Woodson <kwoodson@redhat.com> | 2016-01-21 15:29:44 -0500 |
commit | 74b73d3c83165e45398af8b60eeb25f9d11dd13c (patch) | |
tree | 1e4b212f92773297ace5ee2220a161981fb6de5c | |
parent | c9cb65c9110781ca57d68306bf7bd7f918c3525e (diff) | |
parent | 964178acf7929b9e52f6fed6783ca8210701b40e (diff) | |
download | openshift-74b73d3c83165e45398af8b60eeb25f9d11dd13c.tar.gz openshift-74b73d3c83165e45398af8b60eeb25f9d11dd13c.tar.bz2 openshift-74b73d3c83165e45398af8b60eeb25f9d11dd13c.tar.xz openshift-74b73d3c83165e45398af8b60eeb25f9d11dd13c.zip |
Merge pull request #1259 from kwoodson/no_symlink_yaml
Skipping symlinks for yaml validation.
-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: |