this patch silences a false-positive pylint error introduced by recent
python 3 porting patches (commit c38516eab7b82f3ba7334cdea7a422a070048b59)
--
Martin^3 Babinsky
From abd6194bb432acbab910c2de1430ce333411ea2a 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..59e0e1578ea54727e4c3c42c86797c47ec583a60 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