Remove debug

main
Bob Mottram 2020-11-22 18:46:10 +00:00
parent 31b12ae207
commit 61beedd86e
1 changed files with 0 additions and 4 deletions

View File

@ -186,7 +186,6 @@ def parseFeedDate(pubDate: str):
hoursAdded = timedelta(hours=5) hoursAdded = timedelta(hours=5)
publishedDate = publishedDate + hoursAdded publishedDate = publishedDate + hoursAdded
break break
print('Feed date: ' + pubDate + ' ' + str(publishedDate))
return publishedDate return publishedDate
@ -247,7 +246,6 @@ def xml2StrToDict(baseDir: str, domain: str, xmlStr: str,
pubDateStr = str(publishedDate) pubDateStr = str(publishedDate)
if not pubDateStr.endswith('+00:00'): if not pubDateStr.endswith('+00:00'):
pubDateStr += '+00:00' pubDateStr += '+00:00'
print('Feed date: ' + pubDateStr)
postFilename = '' postFilename = ''
votesStatus = [] votesStatus = []
addNewswireDictEntry(baseDir, domain, addNewswireDictEntry(baseDir, domain,
@ -318,7 +316,6 @@ def atomFeedToDict(baseDir: str, domain: str, xmlStr: str,
pubDateStr = str(publishedDate) pubDateStr = str(publishedDate)
if not pubDateStr.endswith('+00:00'): if not pubDateStr.endswith('+00:00'):
pubDateStr += '+00:00' pubDateStr += '+00:00'
print('Feed date: ' + pubDateStr)
postFilename = '' postFilename = ''
votesStatus = [] votesStatus = []
addNewswireDictEntry(baseDir, domain, addNewswireDictEntry(baseDir, domain,
@ -386,7 +383,6 @@ def atomFeedYTToDict(baseDir: str, domain: str, xmlStr: str,
pubDateStr = str(publishedDate) pubDateStr = str(publishedDate)
if not pubDateStr.endswith('+00:00'): if not pubDateStr.endswith('+00:00'):
pubDateStr += '+00:00' pubDateStr += '+00:00'
print('Feed date: ' + pubDateStr)
postFilename = '' postFilename = ''
votesStatus = [] votesStatus = []
addNewswireDictEntry(baseDir, domain, addNewswireDictEntry(baseDir, domain,