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 uuid.py.
The reason we have our own local copy is partly due to the fact that
uuid.py imports ctypes which is not at all SELinux friendly. That and so
we can work on Python 2.4 systems.
rob
Ok, as Jason suggested, we can do something like:
from compat import sha1 as sha
ack, pushed to master
_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel