def next(self):
        try:
            f = self.files.pop(0)
        except __HOLE__:
            raise StopIteration
        else:
            s = self.server.avatar._runAsUser(os.lstat, os.path.join(self.dir, f))
            longname = lsLine(f, s)
            attrs = self.server._getAttrs(s)
            return (f, longname, attrs)
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/conch/unix.py/UnixSFTPDirectory.next