URL: https://github.com/freeipa/freeipa/pull/887
Author: MartinBasti
 Title: #887: py3: secrets: remove iteritems usage
Action: opened

PR body:
"""
https://pagure.io/freeipa/issue/4985
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/887/head:pr887
git checkout pr887
From 77de1c8225aef4879932b67672514936851857c0 Mon Sep 17 00:00:00 2001
From: Martin Basti <mba...@redhat.com>
Date: Wed, 21 Jun 2017 18:54:31 +0200
Subject: [PATCH] py3: secrets: remove iteritems usage

https://pagure.io/freeipa/issue/4985
---
 ipaserver/secrets/common.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ipaserver/secrets/common.py b/ipaserver/secrets/common.py
index f3dc320891..3c152516ae 100644
--- a/ipaserver/secrets/common.py
+++ b/ipaserver/secrets/common.py
@@ -40,6 +40,6 @@ def connect(self):
 
     def build_filter(self, formatstr, args):
         escaped_args = dict()
-        for key, value in args.iteritems():
+        for key, value in args.items():
             escaped_args[key] = ldap.filter.escape_filter_chars(value)
         return formatstr.format(**escaped_args)
_______________________________________________
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