fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix for empty editors
[librarian.git]
/
librarian
/
text.py
diff --git
a/librarian/text.py
b/librarian/text.py
index
bcb031d
..
f5aafc1
100644
(file)
--- a/
librarian/text.py
+++ b/
librarian/text.py
@@
-55,7
+55,8
@@
def transform(input_file, output_file, parse_dublincore=True, **options):
else:
source = ''
else:
source = ''
- contributors = ', '.join(person.readable() for person in sorted(set(parsed_dc.technical_editors + parsed_dc.editors)))
+ contributors = ', '.join(person.readable() for person in
+ sorted(set(p for p in (parsed_dc.technical_editors + parsed_dc.editors) if p)))
if contributors:
contributors = "\n\nOpracowanie redakcyjne i przypisy: %s" % contributors
else:
if contributors:
contributors = "\n\nOpracowanie redakcyjne i przypisy: %s" % contributors
else: