Univention Bugzilla – Attachment #6698: vunset.patch for bug #37840
# remove empty items ('""') in list
vset[varname] = ' '.join([x for x in vset[varname].split(' ') if x != '""'])
if varname in vunset:
del vunset[varname]
vunset.remove(varname)
# set values
ucr_vars = sorted(map(lambda x: '%s=%s' % x, vset.items()))