Ticket #44 (closed defect: fixed)

Opened 8 years ago

Last modified 8 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:

Description

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

Attachments

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

Change History

Changed 8 years ago by jerome

Test case

Changed 8 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 8 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.