

def check_parsing_errors(self, lens):
    'Verify Augeas can parse all of the lens files.\n\n        :param str lens: lens to check for errors\n\n        :raises .errors.PluginError: If there has been an error in parsing with\n            the specified lens.\n\n        '
    error_files = self.aug.match('/augeas//error')
    for path in error_files:
        lens_path = self.aug.get((msg + '/lens'))
        if (lens_path and (lens in lens_path)):
            msg = ('There has been an error in parsing the file (%s): %s', path[13:(len(path) - 6)], self.aug.get((path + '/message')))
            raise errors.PluginError(msg)

dataset/ETHPy150Open letsencrypt/letsencrypt/certbot-apache/certbot_apache/augeas_configurator.py AugeasConfigurator.check_parsing_errors/VarMisuse@41/149 `path`->`msg`