Browse Source

Merge pull request #1259 from kwoodson/no_symlink_yaml

Skipping symlinks for yaml validation.
Kenny Woodson 9 years ago
parent
commit
74b73d3c83
1 changed files with 1 additions and 1 deletions
  1. 1 1
      git/yaml_validation.py

+ 1 - 1
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: