Skip to content

Commit

Permalink
#256 bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
tonylampada committed Oct 7, 2014
1 parent 203ac9f commit d9d2c23
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion djangoproject/core/services/mail_services.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import json
import logging
import html2text

Expand Down
3 changes: 3 additions & 0 deletions djangoproject/core/utils/trackers_adapter.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import html2text
import httplib2
from urlparse import urlparse, parse_qs
import re
Expand Down Expand Up @@ -32,6 +33,8 @@ def fetchIssueInfo(issueURL):
info = retrieveGoogleCodeInfo(issueURL)
else:
info = IssueInfo()
if hasattr(info, 'description'):
info.description = html2text.html2text(info.description)
if info.error:
print 'Error fetching info for: '+issueURL+' - '+info.error
notify_admin('Error fetching info for: '+issueURL, info.error)
Expand Down

0 comments on commit d9d2c23

Please sign in to comment.