Page MenuHomePhorge

D156.1775388017.diff
No OneTemporary

Authored By
Unknown
Size
642 B
Referenced Files
None
Subscribers
None

D156.1775388017.diff

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

Mime Type
text/plain
Expires
Sun, Apr 5, 11:20 AM (3 d, 19 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18833291
Default Alt Text
D156.1775388017.diff (642 B)

Event Timeline