155 number, column, code string and the error message. |
155 number, column, code string and the error message. |
156 @rtype list of dict |
156 @rtype list of dict |
157 """ |
157 """ |
158 if codestring: |
158 if codestring: |
159 try: |
159 try: |
160 from yaml import MarkedYAMLError, safe_load_all # __IGNORE_WARNING_I10__ |
160 from yaml import MarkedYAMLError, safe_load_all # __IGNORE_WARNING_I-10__ |
161 except ImportError: |
161 except ImportError: |
162 error = "pyyaml not available. Install it via the PyPI interface." |
162 error = "pyyaml not available. Install it via the PyPI interface." |
163 return [{"error": (file, 0, 0, "", error)}] |
163 return [{"error": (file, 0, 0, "", error)}] |
164 |
164 |
165 try: |
165 try: |