summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpiglit-summary-html.py2
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():