def _simpleTroveList(self, troveList, newFilesByTrove):
        log.info('Verifying %s' % " ".join(x[1].getName() for x in troveList))
        changedTroves = set()

        try:
            result = update.buildLocalChanges(self.db, troveList,
                                              root=self.cfg.root,
                                              forceSha1=self.forceHashCheck,
                                              ignoreTransient=True,
                                              updateContainers=True,
                                              statCache = self.statCache)
            if not result: return
            cs = result[0]
            changed = False
            for (changed, trv) in result[1]:
                if changed:
                    changedTroves.add(trv.getNameVersionFlavor())
        except __HOLE__, err:
            if err.errno == 13:
                log.warning("Permission denied creating local changeset for"
                            " %s " % str([ x[0].getName() for x in troveList ]))
            return

        trovesChanged = []

        for (dbTrv, srcTrv, newVer, flags), (changed, localTrv) in \
                itertools.izip(troveList, result[1]):
            if srcTrv.getNameVersionFlavor() in newFilesByTrove:
                for path in newFilesByTrove[srcTrv.getNameVersionFlavor()]:
                    self._addFile(cs, localTrv, path)

                localTrv.computeDigests()
                trvDiff = localTrv.diff(dbTrv, absolute = False)[0]
                cs.newTrove(trvDiff)
                trovesChanged.append(localTrv.getNameVersionFlavor())
            elif changed:
                trovesChanged.append(localTrv.getNameVersionFlavor())

        if trovesChanged:
            self._handleChangeSet(trovesChanged, cs)
dataset/ETHPy150Open sassoftware/conary/conary/cmds/verify.py/_FindLocalChanges._simpleTroveList