changeset 4870:eabd8725c940

Groups2009: self changed to cfg in groups and dicts initializing functions.
author Dmitrijs Milajevs <dimazest@gmail.com>
date Sun, 19 Jul 2009 14:51:27 +0200
parents c9eedd899bb7
children f486af162cdf
files MoinMoin/config/multiconfig.py
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/config/multiconfig.py	Sun Jul 19 13:30:24 2009 +0200
+++ b/MoinMoin/config/multiconfig.py	Sun Jul 19 14:51:27 2009 +0200
@@ -700,10 +700,10 @@
 options_no_group_name = {
   # ==========================================================================
   'datastruct': ('Datastruct settings', None, (
-    ('dicts', lambda self, request: datastruct.WikiDicts(request),
-     "function f(self, request) that returns a backend which is used to access dicts definitions. See HelpOnDictionaries."),
-    ('groups', lambda self, request: datastruct.WikiGroups(request),
-     "function f(self, request) that returns a backend which is used to access groups definitions."),
+    ('dicts', lambda cfg, request: datastruct.WikiDicts(request),
+     "function f(cfg, request) that returns a backend which is used to access dicts definitions."),
+    ('groups', lambda cfg, request: datastruct.WikiGroups(request),
+     "function f(cfg, request) that returns a backend which is used to access groups definitions."),
   )),
   # ==========================================================================
   'session': ('Session settings', "Session-related settings, see HelpOnSessions.", (