Univention Bugzilla – Attachment 8429 Details for
Bug 43562
udm policies/registry modify --remove 'foo bar' does not work
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
43561.patch (text/plain), 1.39 KB, created by
Florian Best
on 2017-02-16 12:30:13 CET
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Florian Best
Created:
2017-02-16 12:30:13 CET
Size:
1.39 KB
patch
obsolete
>diff --git a/management/univention-directory-manager-modules/modules/univention/admin/handlers/policies/registry.py b/management/univention-directory-manager-modules/modules/univention/admin/handlers/policies/registry.py >index b6e4410..ae9beca 100644 >--- a/management/univention-directory-manager-modules/modules/univention/admin/handlers/policies/registry.py >+++ b/management/univention-directory-manager-modules/modules/univention/admin/handlers/policies/registry.py >@@ -122,7 +122,7 @@ def _post_unmap(self, info, values): > for key, value in values.items(): > if key.startswith('univentionRegistry;entry-hex-'): > key_name = key.split('univentionRegistry;entry-hex-', 1)[1].decode('hex') >- info['registry'].append((key_name, values[key][0].strip())) >+ info['registry'].append([key_name, values[key][0].strip()]) > > info['registry'].sort() > >@@ -137,7 +137,7 @@ def _post_map(self, modlist, diff): > raise univention.admin.uexceptions.valueInvalidSyntax(_('Duplicated variables not allowed: %s') % (', '.join(map(repr, duplicated)))) > > old_dict = dict(old) >- new_dict = dict((k.strip(), v) for k, v in new) # strip leading and trailing whitespace in variable names >+ new_dict = dict([k.strip(), v] for k, v in new) # strip leading and trailing whitespace in variable names > > for var, value in old_dict.items(): > attr_name = 'univentionRegistry;entry-hex-%s' % var.encode('hex')
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 43562
: 8429