Rob Crittenden wrote:
Jason Gerard DeRose wrote:
This patch adds `sha1` and `md5` classes to the `compat` module.  These
will work in Python 2.4 - 2.5 without raising a `DeprecationWarning`.

I wonder if we should import both the name sha and sha1. If we did that we could modify ipauuid to import from compat directly. This would be nicer too because it shortens the diffs from the upstream

The reason we have our own local copy is partly due to the fact that imports ctypes which is not at all SELinux friendly. That and so we can work on Python 2.4 systems.


Ok, as Jason suggested, we can do something like:

from compat import sha1 as sha

ack, pushed to master

Freeipa-devel mailing list

Reply via email to