bgreenlee/pygtail — pull request #10 by jeffbryner (2013-12-29 16:17:39+00:00)
Title: Correct condition where a matching rotated file exists, but isn't the old inode

If a file exists (say filetowatch.log.1) but isn't the actual rotated file (say filetowatch.log.YYYYMMDD) pygtail will not return new lines or follow the new file. This change allows pygtail to search all possible rotated files for a match and carry on.