diff options
-rwxr-xr-x | piglit-summary-html.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/piglit-summary-html.py b/piglit-summary-html.py index 39ae474b5..6fed689d9 100755 --- a/piglit-summary-html.py +++ b/piglit-summary-html.py @@ -39,7 +39,7 @@ def parse_listfile(filename): element at the end. """ with open(filename, 'r') as file: - return [path.expanduser(i) for i in file.read().rstrip().split('\n')] + return [path.expanduser(i.rstrip('\n')) for i in file.readlines()] def main(): |