[Freeipa-devel] [PATCH] ipautil.py and CIDict
Kevin McCarthy
kmccarth at redhat.com
Mon Aug 27 16:46:06 UTC 2007
Simo Sorce wrote:
> On Fri, 2007-08-24 at 10:30 -0700, Kevin McCarthy wrote:
> > This is an case-insensitive dict for IPA to use.
>
> Pushed.
> http://hg.et.redhat.com/freeipa/freeipa?cs=655d8fb84fa8
Attached patch fixes attribution for python-ldap's cidict.
-Kevin
-------------- next part --------------
# HG changeset patch
# User Kevin McCarthy <kmccarth at redhat.com>
# Date 1188233375 25200
# Node ID 7bcee29af7f0ec2279277ff0b5c580e145815485
# Parent 655d8fb84fa886a54fd31668c842ebaf685c3c60
Fix python-ldap attribution for cidict.
diff -r 655d8fb84fa8 -r 7bcee29af7f0 ipa-python/ipautil.py
--- a/ipa-python/ipautil.py Fri Aug 24 10:31:45 2007 -0700
+++ b/ipa-python/ipautil.py Mon Aug 27 09:49:35 2007 -0700
@@ -23,9 +23,10 @@ class CIDict(dict):
"""
Case-insensitive but case-respecting dictionary.
- Idea from python-ldap cidict, however this version extends 'dict'
- so it works properly with TurboGears.
+ This code is derived from python-ldap's cidict.py module,
+ written by stroeder: http://python-ldap.sourceforge.net/
+ This version extends 'dict' so it works properly with TurboGears.
If you extend UserDict, isinstance(foo, dict) returns false.
"""
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2228 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20070827/325dbeab/attachment.bin>
More information about the Freeipa-devel
mailing list