From f42c23d69ff695c73a6a5fb32ea884ec256bca13 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 22 Nov 2020 14:18:25 +0000 Subject: [PATCH] Make debug messages distinguishable --- newswire.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/newswire.py b/newswire.py index 199bf59cd..f35affd73 100644 --- a/newswire.py +++ b/newswire.py @@ -223,7 +223,7 @@ def xml2StrToDict(baseDir: str, domain: str, xmlStr: str, break parsed = True except BaseException: - print('WARN: unrecognized RSS date format: ' + pubDate) + print('WARN: unrecognized RSS date format 1: ' + pubDate) pass if not parsed: @@ -243,7 +243,7 @@ def xml2StrToDict(baseDir: str, domain: str, xmlStr: str, break parsed = True except BaseException: - print('WARN: unrecognized RSS date format: ' + pubDate) + print('WARN: unrecognized RSS date format 2: ' + pubDate) pass return result @@ -333,7 +333,7 @@ def atomFeedToDict(baseDir: str, domain: str, xmlStr: str, break parsed = True except BaseException: - print('WARN: unrecognized atom feed date format: ' + pubDate) + print('WARN: unrecognized atom feed date format 1: ' + pubDate) pass if not parsed: @@ -355,7 +355,7 @@ def atomFeedToDict(baseDir: str, domain: str, xmlStr: str, break parsed = True except BaseException: - print('WARN: unrecognized RSS date format: ' + pubDate) + print('WARN: unrecognized RSS date format 3: ' + pubDate) pass return result @@ -443,7 +443,7 @@ def atomFeedYTToDict(baseDir: str, domain: str, xmlStr: str, break parsed = True except BaseException: - print('WARN: unrecognized atom feed date format: ' + pubDate) + print('WARN: unrecognized atom feed date format 2: ' + pubDate) pass if not parsed: