# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information.
#
import copy
-from librarian import functions, OutputFile
+from librarian import functions, IOFile
from lxml import etree
import os
license_description = ""
source = ""
contributors = ""
- return OutputFile.from_string((TEMPLATE % {
+ return IOFile.from_string((TEMPLATE % {
'description': description,
'url': url,
'license_description': license_description,
'contributors': contributors,
}).encode('utf-8'))
else:
- return OutputFile.from_string(unicode(result).encode('utf-8'))
+ return IOFile.from_string(unicode(result).encode('utf-8'))