summaryrefslogtreecommitdiffstats
path: root/tests/test_xmlrpc
diff options
context:
space:
mode:
authorPavel Zuna <pzuna@redhat.com>2010-05-10 14:48:48 +0200
committerRob Crittenden <rcritten@redhat.com>2010-05-14 11:07:10 -0400
commit64490a3ee08729c5739c0e84b0b50b8ae0e376d3 (patch)
tree1861721842f9aec45058eb9e821a95436b1eccc9 /tests/test_xmlrpc
parent7993719329c675d8227bc612a2f8f0db5523c073 (diff)
downloadfreeipa.git-64490a3ee08729c5739c0e84b0b50b8ae0e376d3.tar.gz
freeipa.git-64490a3ee08729c5739c0e84b0b50b8ae0e376d3.tar.xz
freeipa.git-64490a3ee08729c5739c0e84b0b50b8ae0e376d3.zip
Correctly handle EmptyModlist exception in pwpolicy2-mod.
EmptyModlist exception was generated by pwpolicy2-mod when modifying policy priority only. It was because the priority attribute is stored outside of the policy entry (in a CoS entry) and there was nothing left to be changed in the policy entry. This patch uses the new exception callbacks in baseldap.py classes to catch the EmptyModlist exception and checks if there was really nothing to be modified before reraising the exception.
Diffstat (limited to 'tests/test_xmlrpc')
0 files changed, 0 insertions, 0 deletions