Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

remove spammy print statements

  • Loading branch information...
commit 20762496a4d4ee868cd1b5077e2be5f0b33f627c 1 parent beff8bd
DisposaBoy DisposaBoy authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 Tag.py
4 Tag.py
View
@@ -88,13 +88,13 @@ def clean_html(self, content):
i += 1
unparseable = re.split('(\s\/\/[^\n]+\n)', content)
- print unparseable
+
for comment in unparseable:
if comment[:3] == '\n//' or comment[:3] == ' //':
content = content.replace(comment, (len(comment))*'.')
unparseable = re.split('(\s\#[^\n]+\n)', content)
- print unparseable
+
for comment in unparseable:
if comment[:3] == '\n#' or comment[:3] == ' #':
content = content.replace(comment, (len(comment))*'.')
Please sign in to comment.
Something went wrong with that request. Please try again.