diff --git a/libeoaconvert.py b/libeoaconvert.py index ae84851..2013e66 100644 --- a/libeoaconvert.py +++ b/libeoaconvert.py @@ -182,15 +182,4 @@ def format_citations(used_citekeys, bibdata, language): references = dd.xpath("//div[@class='references']") return references - - # full_paren_cites = dd.select("#full-parentheses ~ p > span") - # year_paren_cites = dd.select("#year-parentheses ~ p > span") - # citation_dict = {} - # for entry in used_citekeys: - # title = (bibdata[entry]['title']) - # full_paren = dd.select("#full-parentheses ~ p > span[data-cites='%s']" % entry)[0].text - # year_paren = dd.select("#year-parentheses ~ p > span[data-cites='%s']" % entry)[0].text - # citation_dict[entry] = (full_paren, year_paren, title) - # return citation_dict - # def format_citations ends here