mirror of
https://github.com/lucaspalomodevelop/indico-plugins.git
synced 2026-03-12 23:27:22 +00:00
LiveSync: Get rid of XMLCache
This commit is contained in:
parent
d59747daed
commit
5e3ec5ad14
@ -102,20 +102,20 @@ class MARCXMLGenerator:
|
||||
def _event_to_marcxml(self, obj):
|
||||
xg = XMLGen(init=False)
|
||||
xg.openTag(b'record')
|
||||
self.output_generator.confToXMLMarc21(obj, out=xg, overrideCache=True)
|
||||
self.output_generator.confToXMLMarc21(obj, out=xg)
|
||||
xg.closeTag(b'record')
|
||||
return xg.xml
|
||||
|
||||
def _contrib_to_marcxml(self, obj):
|
||||
xg = XMLGen(init=False)
|
||||
xg.openTag(b'record')
|
||||
self.output_generator.contribToXMLMarc21(obj, out=xg, overrideCache=True)
|
||||
self.output_generator.contribToXMLMarc21(obj, out=xg)
|
||||
xg.closeTag(b'record')
|
||||
return xg.xml
|
||||
|
||||
def _subcontrib_to_marcxml(self, obj):
|
||||
xg = XMLGen(init=False)
|
||||
xg.openTag(b'record')
|
||||
self.output_generator.subContribToXMLMarc21(obj, out=xg, overrideCache=True)
|
||||
self.output_generator.subContribToXMLMarc21(obj, out=xg)
|
||||
xg.closeTag(b'record')
|
||||
return xg.xml
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user