Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove debug print statements
  • Loading branch information
Klaus Thoden committed Jan 23, 2018
1 parent 4cb48dd commit fce223f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions libeoabibitem.py
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit fce223f

Please sign in to comment.