def check_parsing_errors(self, lens):
        error_files = self.aug.match("/augeas//error")

        for path in error_files:
            # Check to see if it was an error resulting from the use of
            # the httpd lens
            lens_path = self.aug.get(path + "/lens")
            # As aug.get may return null
            if lens_path and lens in lens_path:
                msg = (
                    "There has been an error in parsing the file (%s): %s",
                    # Strip off /augeas/files and /error
                    path[13:len(path) - 6], self.aug.get(path + "/message"))
                raise errors.PluginError(msg)

    # TODO: Cleanup this function
Verify MLT with the foo field.
dataset/ETHPy150Open letsencrypt/letsencrypt/certbot-apache/certbot_apache/augeas_configurator.py/AugeasConfigurator.check_parsing_errors--crossover with--dataset/ETHPy150Open mozilla/elasticutils/elasticutils/tests/test_mlt.py/MoreLikeThisTest.test_mlt_on_foo_no_s