Permalink
Browse files

Remove debug print statements

  • Loading branch information...
kthoden committed Jan 23, 2018
1 parent 4cb48dd commit fce223f6fbd11e4dde166102d990a5033bd4d360
Showing with 0 additions and 6 deletions.
  1. +0 −6 libeoabibitem.py
View
@@ -94,14 +94,11 @@ def get_authorname(self, xmlAuthorRow, reversed_name = True):
str_lastname = xmlAuthorRow[0].text
- print(str_lastname)
-
# if only one name given
if len(xmlAuthorRow) <= 2:
str_completename = str_lastname
elif len(xmlAuthorRow) > 2:
str_firstname = xmlAuthorRow[2].text
- print(str_firstname)
if reversed_name == True:
str_completename = "%s, %s" % (str_lastname, str_firstname)
@@ -835,9 +832,7 @@ def editor(self):
first_editor = xmlEditors[0]
- print("how and why", len(first_editor.xpath("mrow")))
strLastName = first_editor.xpath("mrow")[0].text
- print(strLastName)
strFirstName = first_editor.xpath("mrow")[2].text
strCompleteName = lang_dict["edited"][LANGUAGE] + " " + strFirstName + " " + strLastName
# Remaining Authors are to be Firstname Lastname
@@ -857,7 +852,6 @@ def editor(self):
else:
strLastName = last_editor.xpath("mrow")[0].text
strFirstName = last_editor.xpath("mrow")[2].text
- print(strFirstName)
strCompleteName = strCompleteName + " " + lang_dict["and"][LANGUAGE] + " " + strFirstName + " " + strLastName + "."
elif intNumberOfEditors > 2:

0 comments on commit fce223f

Please sign in to comment.