1 |
commit: 9eade4e4950fbd28c6b4e07440f765248883ee58 |
2 |
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 7 04:19:04 2016 +0000 |
4 |
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 7 04:19:04 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/R_overlay.git/commit/?id=9eade4e4 |
7 |
|
8 |
util/fileio.py: do not skip the first line. |
9 |
|
10 |
roverlay/util/fileio.py | 1 + |
11 |
1 file changed, 1 insertion(+) |
12 |
|
13 |
diff --git a/roverlay/util/fileio.py b/roverlay/util/fileio.py |
14 |
index be81ef0..72d8a9c 100644 |
15 |
--- a/roverlay/util/fileio.py |
16 |
+++ b/roverlay/util/fileio.py |
17 |
@@ -103,6 +103,7 @@ def read_text_file ( filepath, preparse=None, try_harder=True ): |
18 |
raise |
19 |
|
20 |
else: |
21 |
+ yield line |
22 |
# read remaining lines |
23 |
for line in creader: |
24 |
yield line |