Skip to content

Commit

Permalink
Pylint: Fixed incorrect disabling of no-member warning.
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Maier <maiera@de.ibm.com>
  • Loading branch information
andy-maier committed Nov 2, 2017
1 parent f37a90f commit 4a60063
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pywbem/cim_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,8 +473,8 @@ def send(self, strng):
self.sock.sendall(_ensure_bytes(data))
data = strng.read(blocksize)
else:
# pylint: disable=no-member
self.sock.sendall(_ensure_bytes(strng))
# For unknown reasons, the pylint disable must be on same line:
self.sock.sendall(_ensure_bytes(strng)) # noqa: E501 pylint: disable=no-member

class HTTPConnection(HTTPBaseConnection, httplib.HTTPConnection):
""" Execute client connection without ssl using httplib. """
Expand Down

0 comments on commit 4a60063

Please sign in to comment.