comparison MoinMoin/groups/__init__.py @ 4775:0a0387a9eb1e

Groups2009: BackendManager does not require request object in __init__
author Dmitrijs Milajevs <dimazest@gmail.com>
date Sun, 31 May 2009 21:17:49 +0200
parents c3e904a9c00b
children 3f9147c23d9c
comparison
equal deleted inserted replaced
4774:fb0cce9e8621 4775:0a0387a9eb1e
14 """ 14 """
15 BackendManager maps string to the Group object. String represents 15 BackendManager maps string to the Group object. String represents
16 group name. It provides access to groups of specific backend. 16 group name. It provides access to groups of specific backend.
17 """ 17 """
18 18
19 def __init__(self, request, backend, mapper_to_backend=lambda x: x, mapper_from_backend=lambda x: x): 19 def __init__(self, backend, mapper_to_backend=lambda x: x, mapper_from_backend=lambda x: x):
20 """ 20 """
21 Creates backend manager object. 21 Creates backend manager object.
22 22
23 XXX Decorators can be used for group name mapping. 23 XXX Decorators can be used for group name mapping.
24 24