[Freeipa-devel] [freeipa PR#241][comment] Port ipapython.dnssec.odsmgr to xml.etree

tiran freeipa-github-notification at redhat.com
Wed Nov 16 10:16:08 UTC 2016


  URL: https://github.com/freeipa/freeipa/pull/241
Title: #241: Port ipapython.dnssec.odsmgr to xml.etree

tiran commented:
"""
client/ipa-client-automount also used ```lxml.etree```. I replaced the implementation with simpler ```xml.etree``` based code.

```
$ find . \( -type f -and -executable \) -or -name '*.py' | xargs grep lxml
./ipaserver/plugins/dogtag.py:To parse the XML documents we use the Python lxml package which is a Python
./ipaserver/plugins/dogtag.py:for many projects. One of the features in lxml and libxml2 that is particularly
./ipaserver/plugins/dogtag.py:namespaces. The regular expression name space identifier is 're:' In lxml we
./ipaserver/plugins/dogtag.py:from lxml import etree
./ipaserver/install/ipa_otptoken_import.py:from lxml import etree
./config.status:S["XMLRPC_LIBS"]="-lxmlrpc_client"
```
"""

See the full comment at https://github.com/freeipa/freeipa/pull/241#issuecomment-260907499


More information about the Freeipa-devel mailing list