From 51bab0d45054c9dfeac4526d59364673375d32fb Mon Sep 17 00:00:00 2001 From: Klaus Thoden Date: Fri, 9 Feb 2018 10:23:10 +0100 Subject: [PATCH] Part not necessary anymore --- libeoaconvert.py | 11 ----------- 1 file changed, 11 deletions(-) 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