diff options
author | Petr Viktorin <pviktori@redhat.com> | 2012-05-18 08:19:45 -0400 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2012-05-28 16:03:28 +0200 |
commit | ae1257517064362188b893a939cb336c48097256 (patch) | |
tree | 562cebc2f059b59584e57b30ab5e8dcac2d5b056 /ipalib/plugins/user.py | |
parent | 74293426d9b88dad1fffa1762d2be83b1eb45d02 (diff) | |
download | freeipa.git-ae1257517064362188b893a939cb336c48097256.tar.gz freeipa.git-ae1257517064362188b893a939cb336c48097256.tar.xz freeipa.git-ae1257517064362188b893a939cb336c48097256.zip |
Fix the pwpolicy_find post_callback
Always call convert_time_for_output so time gets reported correctly.
That method has its own checks for whether the attributes are present;
an additional check is unnecessary.
Use a key function for sorting; cmp is deprecated, slower and
more complicated.
Add a test
https://fedorahosted.org/freeipa/ticket/2726
Diffstat (limited to 'ipalib/plugins/user.py')
0 files changed, 0 insertions, 0 deletions