Commit bb15dfb9 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos.slap: Make TempDocument more flexible to allow init any parameter

parent 816e23ca
......@@ -63,7 +63,11 @@ ALLOWED_JIO_FIELD_LIST = [
"TextAreaField"]
class TempDocument(object):
pass
def __init__(self, **kw):
"""
Makes easy initialisation of class parameters
"""
self.__dict__.update(kw)
class ConnectionHelper:
def __init__(self, master_url, key_file=None,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment