in dpr_scale/utils/ccnews_stats.py [0:0]
def get_lines(file_path_list: List[str], debug):
for file_path in file_path_list:
with gzip.open(file_path, "rt") as infile:
for i, line in enumerate(infile):
yield line
if i == 10 and debug:
break