from librarian import html
-import hg, urllib2, json
+import hg, urllib2
+from django.utils import simplejson as json
from django.views.generic.simple import direct_to_template
from django.conf import settings
})
def _add_references(message, issues):
- # TODO
- pass
+ for issue in issues:
+ message += " refs #%d " % issue.id
+ return message
def _get_issues_for_file(path):
if not path.endswith('.xml'):