Index: base/univention-config-registry/python/univention/config_registry/frontend.py =================================================================== --- base/univention-config-registry/python/univention/config_registry/frontend.py (Revision 73141) +++ base/univention-config-registry/python/univention/config_registry/frontend.py (Arbeitskopie) @@ -122,10 +122,16 @@ Set config registry variables in args. Args is an array of strings 'key=value' or 'key?value'. """ + if isinstance(args, str): + args = [args] + if not isinstance(args, list): + raise TypeError ucr = _ucr_from_opts(opts) with ucr: changes = {} for arg in args: + if not isinstance(arg, str): + raise TypeError sep_set = arg.find('=') # set sep_def = arg.find('?') # set if not already set if sep_set == -1 and sep_def == -1: