Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F118429629
D156.1775811342.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
642 B
Referenced Files
None
Subscribers
None
D156.1775811342.diff
View Options
diff --git a/pykolab/utils.py b/pykolab/utils.py
--- a/pykolab/utils.py
+++ b/pykolab/utils.py
@@ -387,6 +387,12 @@
if not result.has_key('domain') and result.has_key('standard_domain'):
result['domain'] = result['standard_domain']
+ if 'objectclass' in result and result['objectclass'] is not None:
+ oclist = result['objectclass'] if isinstance(result['objectclass'], list) else [result['objectclass']]
+ result['objectclass'] = [x.lower() for x in oclist]
+ else:
+ result['objectclass'] = []
+
return result
def parse_input(_input, splitchars= [ ' ' ]):
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Apr 10, 8:55 AM (10 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18833291
Default Alt Text
D156.1775811342.diff (642 B)
Attached To
Mode
D156: Normalize objectclass attribute values (#5423)
Attached
Detach File
Event Timeline