def readLines(self):

        self._checkRewrite()
        if not self.fo:
            try:
                self.fo = open(self.name, 'r')
            except IOError:
                return ()
        lines = self.fo.readlines()
        self.where = self.fo.tell()
        return lines
Return list of last append lines from file if exist.
dataset/ETHPy150Open openstack/bareon/contrib/fuel_bootstrap/files/trusty/usr/bin/send2syslog.py/WatchedFile.readLines