summaryrefslogtreecommitdiffstats
path: root/git
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2016-01-21 15:28:14 -0500
committerKenny Woodson <kwoodson@redhat.com>2016-01-21 15:28:14 -0500
commit964178acf7929b9e52f6fed6783ca8210701b40e (patch)
tree1e4b212f92773297ace5ee2220a161981fb6de5c /git
parentc9cb65c9110781ca57d68306bf7bd7f918c3525e (diff)
downloadopenshift-964178acf7929b9e52f6fed6783ca8210701b40e.tar.gz
openshift-964178acf7929b9e52f6fed6783ca8210701b40e.tar.bz2
openshift-964178acf7929b9e52f6fed6783ca8210701b40e.tar.xz
openshift-964178acf7929b9e52f6fed6783ca8210701b40e.zip
Skipping any symlinks for the yaml validation check
Diffstat (limited to 'git')
-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: