From 964178acf7929b9e52f6fed6783ca8210701b40e Mon Sep 17 00:00:00 2001 From: Kenny Woodson Date: Thu, 21 Jan 2016 15:28:14 -0500 Subject: Skipping any symlinks for the yaml validation check --- git/yaml_validation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git') 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: -- cgit v1.2.3