--- MPIWGWeb/bibliography.py 2004/11/16 15:15:23 1.5 +++ MPIWGWeb/bibliography.py 2005/05/09 10:01:54 1.7 @@ -31,14 +31,14 @@ def formatBiblHelp(self,found,table,id): elif foundIB.reference_type.lower()=='edited book': ret+=foundIB.author_semi_colon+" (Editor/s). "+foundIB.title+"." - if not foundIB.place_published=='': + if foundIB.place_published and (not foundIB.place_published==''): ret+=foundIB.place_published+": " - if not foundIB.publisher=='': + if foundIB.publisher and (not foundIB.publisher==''): ret+=foundIB.publisher+", " ret+=foundIB.year+"." elif foundIB.reference_type.lower()=='book section': - ret+=foundIB.author_semi_colon+". ""+foundIB.title+"." In "+foundIB.secondary_title+"" + ret+=getBib(foundIB.author_semi_colon)+". ""+getBib(foundIB.title)+"." In "+getBib(foundIB.secondary_title)+"" if (foundIB.secondary_author_semi_colon) and (not foundIB.secondary_author_semi_colon==''): ret+=", eds.: "+foundIB.secondary_author_semi_colon ret+=". "