pgreco / rpms / ipa

Forked from forks/areguera/rpms/ipa 4 years ago
Clone

Blame SOURCES/0092-Remove-ipanttrustauthincoming-ipanttrustauthoutgoing.patch

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