def _CheckPlistFiles(self, unused_a, path, namelist):
    for name in namelist:
      if os.path.splitext(name)[1] == '.plist':
        plistfile = os.path.join(path, name)
        cmd = dmgtestutilities.ProcessCommand(['/usr/bin/plutil', '-lint',
                                               plistfile])
        if cmd['errorcode']:
          self.bad_plists.append(plistfile)
          self.lint_output.append('Error found in %s' % plistfile)
          for x in cmd['stdout']:
            self.lint_output.append(x)
Get the type and connection information about the console.
dataset/ETHPy150Open MacSysadmin/pymacadmin/utilities/diskimage_unittesting/tests/zz_plint_test.py/TestLintPlistsOnDMG._CheckPlistFiles--crossover with--dataset/ETHPy150Open openstack/ironic/ironic/drivers/modules/seamicro.py/ShellinaboxConsole.get_console