From 585a42b6bcc2e17089219b70d5597fc8dd85d84c Mon Sep 17 00:00:00 2001 From: Timo Pollmeier Date: Wed, 27 Sep 2023 09:32:12 +0200 Subject: [PATCH] Fix: Remove superfluous output from check-gmp Some superfluos print statements are removed from check-gmp.gmp.py that were presumably added for in-development testing and accidentally left in. --- scripts/check-gmp.gmp.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/scripts/check-gmp.gmp.py b/scripts/check-gmp.gmp.py index 634911ae..23fa09df 100644 --- a/scripts/check-gmp.gmp.py +++ b/scripts/check-gmp.gmp.py @@ -189,16 +189,13 @@ def is_old_report(self, last_scan_end, params_used): (self.host,), ) db_entry = self.cursor.fetchone() - print(db_entry) logger.debug("%s %s", db_entry, last_scan_end) if not db_entry: return True else: - print(db_entry[0]) old = parse_date(db_entry[0]) - print(last_scan_end) new = parse_date(last_scan_end) logger.debug( @@ -1142,8 +1139,6 @@ def parse_date(datestring, default_timezone=UTC): if not isinstance(datestring, str): raise ParseError(f"Expecting a string {datestring}") - print(datestring) - match = ISO8601_REGEX.match(datestring) if not match: raise ParseError(f"Unable to parse date string {datestring}")