eric6/Plugins/CheckerPlugins/SyntaxChecker/yamlCheckSyntax.py

branch
maintenance
changeset 7824
096b3ebc1409
parent 7755
1f0a5024360c
child 7923
91e843545d9a
--- a/eric6/Plugins/CheckerPlugins/SyntaxChecker/yamlCheckSyntax.py	Sat Oct 03 11:14:23 2020 +0200
+++ b/eric6/Plugins/CheckerPlugins/SyntaxChecker/yamlCheckSyntax.py	Sun Nov 01 11:15:18 2020 +0100
@@ -184,8 +184,10 @@
         else:
             line, column = 0, 0
         error = exc.problem
+        
         cline = min(len(codestring.splitlines()), int(line)) - 1
         code = codestring.splitlines()[cline]
+        
         return [{'error': (file, line, column, code, error)}]
     
     return [{}]

eric ide

mercurial