diff MoinMoin/formatter/__init__.py @ 4171:5746f1f27d3e

Fixed: wrong variable names in UID generator usage
author Florian Krupicka <florian.krupicka@googlemail.com>
date Tue, 17 Jun 2008 01:36:31 +0200
parents 1d5995a6a0e2
children 910474dded06
line wrap: on
line diff
--- a/MoinMoin/formatter/__init__.py	Tue Jun 17 01:24:28 2008 +0200
+++ b/MoinMoin/formatter/__init__.py	Tue Jun 17 01:36:31 2008 +0200
@@ -411,7 +411,7 @@
         '''
         Take an ID and make it unique in the current namespace.
         '''
-        ns = self.request.include_id
+        ns = self.request.uid_generator.include_id
         if not ns is None:
             ns = self.sanitize_to_id(ns)
         id = self.sanitize_to_id(id)
@@ -425,7 +425,7 @@
         is suitable if the dot ('.') is valid in IDs for your
         formatter.
         '''
-        ns = self.request.include_id
+        ns = self.request.uid_generator.include_id
         if not ns is None:
             ns = self.sanitize_to_id(ns)
             return '%s.%s' % (ns, id)