|
61 |
|
61 |
|
62 |
return None |
62 |
return None |
63 |
|
63 |
|
64 |
def get(module, co, lo, position, dn='', attr=None, superordinate=None): |
64 |
def get(module, co, lo, position, dn='', attr = None, superordinate = None, attributes = [] ): |
65 |
'''return object of module while trying to create objects of |
65 |
'''return object of module while trying to create objects of |
66 |
superordinate modules as well''' |
66 |
superordinate modules as well''' |
67 |
|
67 |
|
|
72 |
if not superordinate: |
72 |
if not superordinate: |
73 |
superordinate = get_superordinate( module, co, lo, dn or position.getDn() ) |
73 |
superordinate = get_superordinate( module, co, lo, dn or position.getDn() ) |
74 |
|
74 |
|
75 |
return module.object( co, lo, position, dn, superordinate = superordinate ) |
75 |
return module.object( co, lo, position, dn, superordinate = superordinatem, attributes = attributes ) |
76 |
|
76 |
|
77 |
def open(object): |
77 |
def open(object): |
78 |
'''initialization of properties not neccessary for browsing etc.''' |
78 |
'''initialization of properties not neccessary for browsing etc.''' |