diff MoinMoin/formatter/text_html.py @ 4169:1d5995a6a0e2

Moved unique-id-generation from request into own object
author Florian Krupicka <florian.krupicka@googlemail.com>
date Mon, 16 Jun 2008 17:21:25 +0200
parents cb22f4c4a0fd
children ec62380ae400
line wrap: on
line diff
--- a/MoinMoin/formatter/text_html.py	Mon Jun 16 12:11:24 2008 +0200
+++ b/MoinMoin/formatter/text_html.py	Mon Jun 16 17:21:25 2008 +0200
@@ -410,7 +410,7 @@
         """
 
         if hasattr(self, 'page'):
-            self.request.begin_include(self.page.page_name)
+            self.request.uid_generator.begin(self.page.page_name)
 
         result = []
         # Use the content language
@@ -434,7 +434,7 @@
         result.append(self.anchordef('bottom'))
         result.append(self._close('div', newline=newline))
         if hasattr(self, 'page'):
-            self.request.end_include()
+            self.request.uid_generator.end()
         return ''.join(result)
 
     def lang(self, on, lang_name):