changeset 4213:d2c811b2716e

Fixed: use requests uid_generator now
author Florian Krupicka <florian.krupicka@googlemail.com>
date Fri, 11 Jul 2008 23:17:09 +0200
parents 1ca179133f01
children 6c99e7787e7f
files MoinMoin/macro/TableOfContents.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/macro/TableOfContents.py	Wed Jul 09 21:53:52 2008 +0200
+++ b/MoinMoin/macro/TableOfContents.py	Fri Jul 11 23:17:09 2008 +0200
@@ -46,12 +46,12 @@
 
     def startContent(self, *args, **kw):
         res = FormatterBase.startContent(self, *args, **kw)
-        self.collected_headings.append([1, self.request.include_id, None])
+        self.collected_headings.append([1, self.request.uid_generator.include_id, None])
         return res
 
     def endContent(self):
         res = FormatterBase.endContent(self)
-        self.collected_headings.append([0, self.request.include_id, None])
+        self.collected_headings.append([0, self.request.uid_generator.include_id, None])
         return res
 
     def heading(self, on, depth, **kw):