URL: https://github.com/freeipa/freeipa/pull/394
Author: Akasurde
 Title: #394: Add fix for ipa plugins command
Action: opened

PR body:
"""
Fix adds count of plugins loaded to return dict

Fixes https://fedorahosted.org/freeipa/ticket/6513

Signed-off-by: Abhijeet Kasurde <akasu...@redhat.com>
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/394/head:pr394
git checkout pr394
From dc2804cff9be5e090bbd5bb503142934438b58cb Mon Sep 17 00:00:00 2001
From: Abhijeet Kasurde <akasu...@redhat.com>
Date: Thu, 12 Jan 2017 18:38:37 +0530
Subject: [PATCH] Add fix for ipa plugins command

Fix adds count of plugins loaded to return dict

Fixes https://fedorahosted.org/freeipa/ticket/6513

Signed-off-by: Abhijeet Kasurde <akasu...@redhat.com>
---
 ipalib/misc.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ipalib/misc.py b/ipalib/misc.py
index 687b018..264ec29 100644
--- a/ipalib/misc.py
+++ b/ipalib/misc.py
@@ -128,4 +128,5 @@ def execute(self, **options):
 
         return dict(
             result=result,
+            count=len(result),
         )
-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to