Bug #1497

tsmerge.py does not properly read a file list from file

Added by Mayer Michael almost 9 years ago. Updated almost 9 years ago.

Status:ClosedStart date:07/01/2015
Priority:NormalDue date:
Assigned To:Mayer Michael% Done:

100%

Category:-
Target version:1.0.0
Duration:

Description

I used the following code to extract filenames from an ascii file:

f = open(filename)
files = f.readlines()

That, however, results in having the string "\n" at the end of each file which prevents tsmerge.py from finding the file.
The code should be replaced by
f = open(filename)
files = f.read().splitlines()


Recurrence

No recurrence.

History

#1 Updated by Mayer Michael almost 9 years ago

  • Status changed from New to Pull request

Available on branch 1497-fix-tsmerge-when-reading-ascii-file

#2 Updated by Knödlseder Jürgen almost 9 years ago

  • Status changed from Pull request to Closed
  • % Done changed from 0 to 100

Merged into devel

Also available in: Atom PDF