Make debug messages distinguishable

merge-requests/30/head
Bob Mottram 2020-11-22 14:18:25 +00:00
parent 7be81054ba
commit f42c23d69f
1 changed files with 5 additions and 5 deletions

View File

@ -223,7 +223,7 @@ def xml2StrToDict(baseDir: str, domain: str, xmlStr: str,
break break
parsed = True parsed = True
except BaseException: except BaseException:
print('WARN: unrecognized RSS date format: ' + pubDate) print('WARN: unrecognized RSS date format 1: ' + pubDate)
pass pass
if not parsed: if not parsed:
@ -243,7 +243,7 @@ def xml2StrToDict(baseDir: str, domain: str, xmlStr: str,
break break
parsed = True parsed = True
except BaseException: except BaseException:
print('WARN: unrecognized RSS date format: ' + pubDate) print('WARN: unrecognized RSS date format 2: ' + pubDate)
pass pass
return result return result
@ -333,7 +333,7 @@ def atomFeedToDict(baseDir: str, domain: str, xmlStr: str,
break break
parsed = True parsed = True
except BaseException: except BaseException:
print('WARN: unrecognized atom feed date format: ' + pubDate) print('WARN: unrecognized atom feed date format 1: ' + pubDate)
pass pass
if not parsed: if not parsed:
@ -355,7 +355,7 @@ def atomFeedToDict(baseDir: str, domain: str, xmlStr: str,
break break
parsed = True parsed = True
except BaseException: except BaseException:
print('WARN: unrecognized RSS date format: ' + pubDate) print('WARN: unrecognized RSS date format 3: ' + pubDate)
pass pass
return result return result
@ -443,7 +443,7 @@ def atomFeedYTToDict(baseDir: str, domain: str, xmlStr: str,
break break
parsed = True parsed = True
except BaseException: except BaseException:
print('WARN: unrecognized atom feed date format: ' + pubDate) print('WARN: unrecognized atom feed date format 2: ' + pubDate)
pass pass
if not parsed: if not parsed: