[Freeipa-devel] [PATCH 0001 v2] Migrate now accepts scope as argument

Drew Erny derny at redhat.com
Wed Jun 3 18:40:08 UTC 2015


Hi, all,

This is an updated patch, with the code changes suggested by Martin 
Batsi in my test email. The biggest difference is that I had to do

 >> from ldap import SCOPE_BASE, SCOPE_ONELEVEL, SCOPE_SUBTREE

To get access to those constants in the global scope. This seems like a 
fairly clean solution, but if it's a code smell, feel free to suggest 
improvements. This should have identical behavior to the last patch, 
except it will autofill scope and no longer prompt interactively.

Thanks,

Drew Erny
derny at redhat.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-derny-0001-2-Migration-now-accepts-scope-as-argument.patch
Type: text/x-patch
Size: 4246 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20150603/7b921c65/attachment.bin>


More information about the Freeipa-devel mailing list