summaryrefslogtreecommitdiffstats
path: root/git/yaml_validation.py
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2016-01-21 15:29:44 -0500
committerKenny Woodson <kwoodson@redhat.com>2016-01-21 15:29:44 -0500
commit74b73d3c83165e45398af8b60eeb25f9d11dd13c (patch)
tree1e4b212f92773297ace5ee2220a161981fb6de5c /git/yaml_validation.py
parentc9cb65c9110781ca57d68306bf7bd7f918c3525e (diff)
parent964178acf7929b9e52f6fed6783ca8210701b40e (diff)
downloadopenshift-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.
Diffstat (limited to 'git/yaml_validation.py')
-rwxr-xr-xgit/yaml_validation.py2
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: