Skip to content

Commit

Permalink
remove spammy print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
DisposaBoy committed Nov 19, 2012
1 parent beff8bd commit 2076249
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tag.py
Expand Up @@ -88,13 +88,13 @@ def clean_html(self, content):
i += 1 i += 1


unparseable = re.split('(\s\/\/[^\n]+\n)', content) unparseable = re.split('(\s\/\/[^\n]+\n)', content)
print unparseable
for comment in unparseable: for comment in unparseable:
if comment[:3] == '\n//' or comment[:3] == ' //': if comment[:3] == '\n//' or comment[:3] == ' //':
content = content.replace(comment, (len(comment))*'.') content = content.replace(comment, (len(comment))*'.')


unparseable = re.split('(\s\#[^\n]+\n)', content) unparseable = re.split('(\s\#[^\n]+\n)', content)
print unparseable
for comment in unparseable: for comment in unparseable:
if comment[:3] == '\n#' or comment[:3] == ' #': if comment[:3] == '\n#' or comment[:3] == ' #':
content = content.replace(comment, (len(comment))*'.') content = content.replace(comment, (len(comment))*'.')
Expand Down

0 comments on commit 2076249

Please sign in to comment.