Commit 348fc1e3 authored by Enrico Zini's avatar Enrico Zini

Fixed stripping signatures

parent a0c1c599
......@@ -109,12 +109,12 @@ class Stats:
is_gpg_signature = False
if is_gpg_signature:
continue
if line.startswith("--"):
continue
if line == "Hash: SHA512":
continue
if line == "--":
if line in ("--", "- --"):
break
if line.startswith("--"):
continue
lines.append(line.strip())
self.lpm[address].append(len(lines))
self.contents[address].append(lines)
......
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