diff MoinMoin/items/__init__.py @ 1361:359d51f0fa90

items: remove some unneeded code
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 20 May 2012 16:46:22 +0200
parents 25a7e9e2b9b7
children 522d2cea9ec8 339668f8ad06
line wrap: on
line diff
--- a/MoinMoin/items/__init__.py	Sun May 20 14:46:03 2012 +0200
+++ b/MoinMoin/items/__init__.py	Sun May 20 16:46:22 2012 +0200
@@ -278,13 +278,11 @@
 
     def _render_data(self):
         from MoinMoin.converter import default_registry as reg
-        include_conv = reg.get(type_moin_document, type_moin_document, includes='expandall')
-        macro_conv = reg.get(type_moin_document, type_moin_document, macros='expandall')
         # TODO: Real output format
-        html_conv = reg.get(type_moin_document, Type('application/x-xhtml-moin-page'))
         doc = self.internal_representation()
         doc = self._expand_document(doc)
         flaskg.clock.start('conv_dom_html')
+        html_conv = reg.get(type_moin_document, Type('application/x-xhtml-moin-page'))
         doc = html_conv(doc)
         flaskg.clock.stop('conv_dom_html')
         rendered_data = conv_serialize(doc, {html.namespace: ''})