--- MPIWGWeb/bibliography.py 2004/07/06 19:29:31 1.2
+++ MPIWGWeb/bibliography.py 2004/10/18 13:16:41 1.4
@@ -39,7 +39,7 @@ def formatBiblHelp(self,found,table,id):
elif foundIB.reference_type.lower()=='book section':
ret+=foundIB.author_semi_colon+". ""+foundIB.title+"." In "+foundIB.secondary_title+""
- if not foundIB.secondary_author_semi_colon=='':
+ if (foundIB.secondary_author_semi_colon) and (not foundIB.secondary_author_semi_colon==''):
ret+=", eds.: "+foundIB.secondary_author_semi_colon
ret+=". "
if not foundIB.pages=='':
@@ -51,7 +51,7 @@ def formatBiblHelp(self,found,table,id):
ret+=foundIB.year+"."
elif foundIB.reference_type.lower()=='book':
ret+=foundIB.author_semi_colon+". "+foundIB.title+". "
- if not foundIB.pages=='':
+ if foundIB.pages and (not foundIB.pages==''):
ret+=foundIB.pages+". "
if not foundIB.place_published=='':
ret+=foundIB.place_published+": "