Make c4k_mixin_config parameters non-optional
This commit is contained in:
parent
ddd00f6510
commit
a803d022d9
1 changed files with 3 additions and 9 deletions
|
@ -5,15 +5,9 @@ from .python_util import *
|
||||||
from .devops_build import DevopsBuild
|
from .devops_build import DevopsBuild
|
||||||
|
|
||||||
def add_c4k_mixin_config(config,
|
def add_c4k_mixin_config(config,
|
||||||
c4k_module_name=None,
|
c4k_module_name,
|
||||||
c4k_config_dict=None,
|
c4k_config_dict,
|
||||||
c4k_auth_dict=None):
|
c4k_auth_dict):
|
||||||
if c4k_module_name == None:
|
|
||||||
c4k_module_name = 'NO_MODULE'
|
|
||||||
if c4k_config_dict == None:
|
|
||||||
c4k_config_dict = {}
|
|
||||||
if c4k_auth_dict == None:
|
|
||||||
c4k_auth_dict = {}
|
|
||||||
|
|
||||||
config.update({'C4kMixin': {'Config': c4k_config_dict,
|
config.update({'C4kMixin': {'Config': c4k_config_dict,
|
||||||
'Auth': c4k_auth_dict,
|
'Auth': c4k_auth_dict,
|
||||||
|
|
Loading…
Reference in a new issue