• 
      

    Get rid of deprecated 'xreadlines'

    Review Request #4943 — Created Nov. 12, 2013 and submitted — Latest diff uploaded

    Information

    Review Board
    master

    Reviewers

    Get rid of deprecated 'xreadlines'

    The xreadlines() method on file objects has been deprecated since Python 2.3.
    The modern approach is to just use the file as an iterator, which will return
    line-by-line text when the file is open in text mode.

    Ran unit tests.