fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move latex styles to res
[librarian.git]
/
librarian
/
text.py
diff --git
a/librarian/text.py
b/librarian/text.py
index
d99e7cf
..
70f5f01
100644
(file)
--- a/
librarian/text.py
+++ b/
librarian/text.py
@@
-4,7
+4,7
@@
# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
#
import copy
# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
#
import copy
-from librarian import functions,
Output
File
+from librarian import functions,
IO
File
from lxml import etree
import os
from lxml import etree
import os
@@
-78,7
+78,7
@@
def transform(wldoc, flags=None, **options):
license_description = ""
source = ""
contributors = ""
license_description = ""
source = ""
contributors = ""
- return
Output
File.from_string((TEMPLATE % {
+ return
IO
File.from_string((TEMPLATE % {
'description': description,
'url': url,
'license_description': license_description,
'description': description,
'url': url,
'license_description': license_description,
@@
-87,5
+87,5
@@
def transform(wldoc, flags=None, **options):
'contributors': contributors,
}).encode('utf-8'))
else:
'contributors': contributors,
}).encode('utf-8'))
else:
- return
Output
File.from_string(unicode(result).encode('utf-8'))
+ return
IO
File.from_string(unicode(result).encode('utf-8'))