On 10/27/2015 06:21 PM, Martin Babinsky wrote:
this patch silences a false-positive pylint error introduced by recent
python 3 porting patches (commit c38516eab7b82f3ba7334cdea7a422a070048b59)



pep8 fail.

Attaching updated patch.

--
Martin^3 Babinsky
From c34a8697014e4c7b00f05f660114949da7023eff Mon Sep 17 00:00:00 2001
From: Martin Babinsky <mbabi...@redhat.com>
Date: Tue, 27 Oct 2015 18:18:26 +0100
Subject: [PATCH] silence pylint in Python 3-specific portion of ipalib/rpc.py

---
 ipalib/rpc.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ipalib/rpc.py b/ipalib/rpc.py
index 2accdc5f0799a1cadab995212db59c081715e29f..3664b265a1f070a198f4af640f20212f14d6c302 100644
--- a/ipalib/rpc.py
+++ b/ipalib/rpc.py
@@ -656,7 +656,7 @@ class KerbTransport(SSLTransport):
             else:
                 connection.putrequest("POST", handler)
             headers.append(("User-Agent", self.user_agent))
-            self.send_headers(connection, headers)
+            self.send_headers(connection, headers)  # pylint: disable=E1101
             self.send_content(connection, request_body)
             return connection
 
-- 
2.4.3

-- 
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