freeipa/ipalib
Pavel Zuna 64490a3ee0 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.
2010-05-14 11:07:10 -04:00
..
plugins Correctly handle EmptyModlist exception in pwpolicy2-mod. 2010-05-14 11:07:10 -04:00
__init__.py Finish deferred translation mechanism 2010-03-16 11:41:22 -06:00
aci.py Fix two bugs: one in parsing the ACI and one in comparing two ACIs 2009-11-25 09:38:33 -07:00
backend.py Remove __public__ and __proxy__ hold-overs from Plugin class 2010-01-28 13:32:00 -05:00
base.py Allow one-character Param names 2010-02-12 13:14:29 -07:00
cli.py Fix output for commands that do not return entries. 2010-03-26 16:56:47 -04:00
compat.py Add sha1, md5 to compat 2010-02-12 17:20:46 -05:00
config.py Fix unicode failures in Env tests and dn failures in XML-RPC tests 2010-02-26 12:31:11 -05:00
constants.py Consolidate to single WSGI entry point 2010-03-01 20:21:38 -07:00
crud.py Fix non XML-RPC tests 2010-02-19 18:10:37 -05:00
encoder.py Prevent double encoding/decoding when processing compound types. 2009-08-03 23:00:17 -06:00
errors.py Add NotImplementedError type so CA plugins can return client-friendly errors 2009-12-01 23:18:05 -07:00
frontend.py Fix output of summary and embedded dictionaries 2010-05-03 13:40:34 -06:00
ipauuid.py Fix deprecation error importing sha 2010-02-12 17:08:27 -05:00
output.py localize doc strings 2010-03-08 21:10:36 -07:00
parameters.py Add weekly periodic schedule to AccessTime param type. 2010-05-04 13:39:42 -04:00
pkcs10.py Handle CSRs whether they have NEW in the header or not 2010-05-03 17:58:08 -06:00
plugable.py Add Object.label class attribute, enable in webUI 2010-02-12 17:07:37 -05:00
request.py Finish deferred translation mechanism 2010-03-16 11:41:22 -06:00
rpc.py XML-RPC signature change 2010-03-30 15:10:58 -04:00
text.py Finish deferred translation mechanism 2010-03-16 11:41:22 -06:00
util.py Removed util.add_global_options() and frontend.Application 2009-10-14 15:07:17 -06:00
x509.py Correct some comment errors 2010-01-19 17:33:28 -05:00