From ec6dea1c58ece6c14aca6b2e98b7b1c327beb02e Mon Sep 17 00:00:00 2001
From: Bob Mottram
Date: Mon, 19 Aug 2019 13:42:24 +0100
Subject: [PATCH] Remove debug
---
content.py | 3 ---
posts.py | 2 --
2 files changed, 5 deletions(-)
diff --git a/content.py b/content.py
index 8f8abbf6..05352283 100644
--- a/content.py
+++ b/content.py
@@ -105,7 +105,6 @@ def addMention(wordStr: str,httpPrefix: str,following: str,replaceMentions: {},r
if len(wordStr)<2:
return False
possibleHandle=wordStr[1:]
- print('Possible mention: '+possibleHandle)
# @nick
if following and '@' not in possibleHandle:
# fall back to a best effort match against the following list
@@ -179,7 +178,6 @@ def addHtmlTags(baseDir: str,httpPrefix: str, \
wordStr=wordStr[1:]
newWords.append(wordStr)
words=newWords
- print(str(words))
replaceMentions={}
replaceHashTags={}
@@ -221,7 +219,6 @@ def addHtmlTags(baseDir: str,httpPrefix: str, \
content=content.replace(wordStr,replaceStr)
content=content.replace('\n','
')
- print('Tags extracted from post: '+str(hashtags))
return '
'+content+'
'
def getMentionsFromHtml(htmlText: str,matchStr=" []:
diff --git a/posts.py b/posts.py
index f4b2d896..61b10825 100644
--- a/posts.py
+++ b/posts.py
@@ -444,8 +444,6 @@ def createPostBase(baseDir: str,nickname: str, domain: str, port: int, \
nickname,domain,content, \
mentionedRecipients, \
hashtagsDict)
-
- print('Tags extracted from post content: '+str(hashtagsDict))
statusNumber,published = getStatusNumber()
conversationDate=published.split('T')[0]