From 2bb990f7e0c8082083782846353c5c81dc4f9785 Mon Sep 17 00:00:00 2001 From: pompolic <pompolic@special-circumstanc.es> Date: Thu, 26 Jan 2023 17:06:57 +0100 Subject: [PATCH] Fix copypaste errors --- gdb-port/parser.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gdb-port/parser.py b/gdb-port/parser.py index b1215e4..56b1a55 100644 --- a/gdb-port/parser.py +++ b/gdb-port/parser.py @@ -52,7 +52,7 @@ class Parser: def increment_apply_count(self, arena): applycount = self.apply_count.get(arena, 0) applycount += 1 - self.apply_count.set(arena, applycount) + self.apply_count[arena] = applycount def get_apply_count(self, arena): return self.apply_count.get(arena, 0) @@ -60,7 +60,7 @@ class Parser: def increment_successful_parse_count(self, arena): s_count = self.successful_parse_count.get(arena, 0) s_count += 1 - self.successful_parse_count_count.set(arena, s_count) + self.successful_parse_count[arena] = s_count def get_successful_parse_count(self, arena): return self.successful_parse_count.get(arena, 0) @@ -68,7 +68,7 @@ class Parser: def increment_failed_parse_count(self, arena): f_count = self.failed_parse_count.get(arena, 0) f_count += 1 - self.failed_parse_count_count.set(arena, f_count) + self.failed_parse_count[arena] = f_count def get_failed_parse_count(self, arena): return self.failed_parse_count.get(arena, 0) -- GitLab