From 6fdff1b5891c9e8984dcaa265491c3cc9600aa0d Mon Sep 17 00:00:00 2001
From: David Kupka <dkupka@redhat.com>
Date: Tue, 13 Jan 2015 13:23:16 +0100
Subject: [PATCH] Remove ipanttrustauthincoming/ipanttrustauthoutgoing from ipa
trust-add output.
https://fedorahosted.org/freeipa/ticket/4787
Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
---
ipalib/plugins/trust.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/ipalib/plugins/trust.py b/ipalib/plugins/trust.py
index 736cb6f573f9a18eca882db136133205c583b67d..22fbb9c7cb1d3a71f65e24d8d3bc27f62d5a44a5 100644
--- a/ipalib/plugins/trust.py
+++ b/ipalib/plugins/trust.py
@@ -508,6 +508,8 @@ sides.
result['verified'])]
del result['verified']
+ result['result'].pop('ipanttrustauthoutgoing', None)
+ result['result'].pop('ipanttrustauthincoming', None)
return result
--
2.1.0