URL: https://github.com/freeipa/freeipa/pull/914
Author: MartinBasti
 Title: #914: baseldap: fix format string
Action: opened

PR body:
"""
Fixes missing type specification in format string.
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/914/head:pr914
git checkout pr914
From 1e36f5c6786f2f2b88712d73e987d22ffd577c9a Mon Sep 17 00:00:00 2001
From: Martin Basti <mba...@redhat.com>
Date: Wed, 12 Jul 2017 16:22:05 +0200
Subject: [PATCH] baseldap: fix format string

Fixes missing type specification in format string.
---
 ipaserver/plugins/baseldap.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ipaserver/plugins/baseldap.py b/ipaserver/plugins/baseldap.py
index a6fc88b591..47bd184278 100644
--- a/ipaserver/plugins/baseldap.py
+++ b/ipaserver/plugins/baseldap.py
@@ -2406,7 +2406,7 @@ def exc_callback(self, keys, options, exc, call_func, *call_args,
 
 
 class BaseLDAPAddAttribute(BaseLDAPModAttribute):
-    msg_summary = _('added attribute value to entry %(value)')
+    msg_summary = _('added attribute value to entry %(value)s')
 
     def _update_attrs(self, update, entry_attrs):
         for name, value in entry_attrs.items():
@@ -2422,7 +2422,7 @@ def _update_attrs(self, update, entry_attrs):
 
 
 class BaseLDAPRemoveAttribute(BaseLDAPModAttribute):
-    msg_summary = _('removed attribute values from entry %(value)')
+    msg_summary = _('removed attribute values from entry %(value)s')
 
     def _update_attrs(self, update, entry_attrs):
         for name, value in entry_attrs.items():
_______________________________________________
FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org
To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org

Reply via email to