Ticket #44 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

Problem with some plain text files

Reported by: jerome Owned by: jerome
Priority: major Milestone: 1.27 final
Component: pkpgcounter Version: development
Keywords: Cc:


Rodolfo Cossalter sent me the attached file, which makes pkpgcounter fail, despite it correctly detecting a plain text file.


Cop.txt (0.9 kB) - added by jerome 9 years ago.
Test case

Change History

Changed 9 years ago by jerome

Test case

Changed 9 years ago by jerome

  • status changed from new to accepted

The problem comes from the last line : it doesn't ends with either CR or LF.

Changed 9 years ago by jerome

  • status changed from accepted to closed
  • resolution set to fixed

(In [3502]) Doesn't check anymore if the current line ends with an EOL marker. From
what I understand from reading Python's documentation, this can only
occur on the very last line of the file anyway. Fixes #44.

Note: See TracTickets for help on using tickets.