def iter_keys(self):
        try:
            commit = self.repo[self._refname]
            tree = self.repo[commit.tree]

            if self.subdir:
                tree = self.repo[tree.lookup_path(
                    self.repo.__getitem__, self.subdir.encode('ascii'))[1]]
        except __HOLE__:
            pass
        else:
            for name in tree:
                yield name.decode('ascii')
dataset/ETHPy150Open mbr/simplekv/simplekv/git.py/GitCommitStore.iter_keys