Skip to content

Commit

Permalink
Merge remote-tracking branch 'a9rkzz/master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
isislovecruft committed Jul 25, 2018
2 parents c39d7fe + 6c06816 commit 704491b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pretty_bad_protocol/_parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -1343,13 +1343,14 @@ def _handle_status(self, key, value):
:raises ValueError: if the status message is unknown.
"""
informational_keys = ["KEY_CONSIDERED"]
if key in ("EXPORTED"):
self.fingerprints.append(value)
elif key == "EXPORT_RES":
export_res = value.split()
for x in self.counts.keys():
self.counts[x] += int(export_res.pop(0))
else:
elif key not in informational_keys:
raise ValueError("Unknown status message: %r" % key)

def summary(self):
Expand Down

0 comments on commit 704491b

Please sign in to comment.