diff options
Diffstat (limited to 'ipalib/plugins/dns2.py')
-rw-r--r-- | ipalib/plugins/dns2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/plugins/dns2.py b/ipalib/plugins/dns2.py index b478a5bcb..35f9b698d 100644 --- a/ipalib/plugins/dns2.py +++ b/ipalib/plugins/dns2.py @@ -597,7 +597,7 @@ class dns2_del_rr(Command): try: attr_value.remove(data) except ValueError: - raise errors.NotFound(message=u'resource record not found') + raise errors.NotFound(reason=u'resource record not found') # check if it's worth to keep this entry in LDAP if 'idnsZone' not in entry_attrs['objectclass']: |