aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2016-07-07 13:19:04 +0900
committerBenda Xu <heroxbd@gentoo.org>2016-07-07 13:19:04 +0900
commit9eade4e4950fbd28c6b4e07440f765248883ee58 (patch)
treeeaeeeac54819b128dce9259932d753d8e0a5c361 /roverlay
parentroverlay/db/distmap.py: call the wrapper for repo_name (diff)
downloadR_overlay-9eade4e4950fbd28c6b4e07440f765248883ee58.tar.gz
R_overlay-9eade4e4950fbd28c6b4e07440f765248883ee58.tar.bz2
R_overlay-9eade4e4950fbd28c6b4e07440f765248883ee58.zip
util/fileio.py: do not skip the first line.
Diffstat (limited to 'roverlay')
-rw-r--r--roverlay/util/fileio.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/roverlay/util/fileio.py b/roverlay/util/fileio.py
index be81ef0..72d8a9c 100644
--- a/roverlay/util/fileio.py
+++ b/roverlay/util/fileio.py
@@ -103,6 +103,7 @@ def read_text_file ( filepath, preparse=None, try_harder=True ):
raise
else:
+ yield line
# read remaining lines
for line in creader:
yield line