Commit 0443a133 authored by Paul Spooren's avatar Paul Spooren Committed by Holger Levsen

openwrt: fixup newlines

Initially I missunderstood the email format, now this should do the
trick by keeping newlines in the split array.
Signed-off-by: Holger Levsen's avatarHolger Levsen <>
parent e2630fb7
......@@ -21,7 +21,7 @@ def parse_packages(package_list_fp):
packages = []
for line in package_list_fp:
if line == '\n' or line == '':
if line == '\n':
parser = email.parser.Parser()
package = parser.parsestr(linebuffer)
......@@ -451,9 +451,9 @@ def diffoscope_multithread():
def store_results():
with open(target_dir + "/packages/Packages.manifest") as rebuild_manifest:
origin_manifest = get_file(download_url + "/packages/Packages.manifest")
result = show_list_difference(
urlopen(download_url + "/packages/Packages.manifest").readlines(),
insert_into_db(result, "{}-rebuild".format(version))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment