From a8cc1ff0dbf3de89b78c8d382779433658286750 Mon Sep 17 00:00:00 2001 From: Martin Kosek Date: Fri, 17 Jan 2014 09:26:35 +0100 Subject: [PATCH] Remove missing VERSION warning in dnsrecord-mod dnsrecord-mod may call dnsrecord-delentry command when all records are deleted. However, the version was not passwd to delentry and it resulted in a warning. https://fedorahosted.org/freeipa/ticket/4120 --- ipalib/plugins/dns.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipalib/plugins/dns.py b/ipalib/plugins/dns.py index 07523dc72466892f0e7d5fdd9261024d0e898548..94ae92ba5d1ae42e31ebb6100c743a2334f29e70 100644 --- a/ipalib/plugins/dns.py +++ b/ipalib/plugins/dns.py @@ -2636,7 +2636,7 @@ def execute(self, *keys, **options): break if del_all: - return self.obj.methods.delentry(*keys) + return self.obj.methods.delentry(*keys, version=options['version']) return result def post_callback(self, ldap, dn, entry_attrs, *keys, **options): -- 1.8.4.2