fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix test.
[librarian.git]
/
librarian
/
pdf.py
diff --git
a/librarian/pdf.py
b/librarian/pdf.py
index
7aaff10
..
12c07ea
100644
(file)
--- a/
librarian/pdf.py
+++ b/
librarian/pdf.py
@@
-230,8
+230,10
@@
def transform(wldoc, verbose=False, save_tex=None, morefloats=None,
root.set('customizations', u','.join(customizations))
# add editors info
root.set('customizations', u','.join(customizations))
# add editors info
- root.set('editors', u', '.join(sorted(
- editor.readable() for editor in document.editors())))
+ editors = document.editors()
+ if editors:
+ root.set('editors', u', '.join(sorted(
+ editor.readable() for editor in editors)))
if document.book_info.funders:
root.set('funders', u', '.join(document.book_info.funders))
if document.book_info.thanks:
if document.book_info.funders:
root.set('funders', u', '.join(document.book_info.funders))
if document.book_info.thanks: