Merge pull request #3144 from cheese1/develop

fix typo
This commit is contained in:
AdeHub
2018-10-14 17:15:03 +13:00
committed by GitHub
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ class Api(object):
def fetchData(self):
if self.data == 'OK':
logger.info('Recieved API command: %s', self.cmd)
logger.info('Received API command: %s', self.cmd)
methodToCall = getattr(self, "_" + self.cmd)
methodToCall(**self.kwargs)
if 'callback' not in self.kwargs:
+1 -1
View File
@@ -93,7 +93,7 @@ def request_response(url, method="get", auto_raise=True,
if kwargs["verify"]:
logger.error(
"Unable to connect to remote host because of a SSL error. "
"It is likely that your system cannot verify the validity"
"It is likely that your system cannot verify the validity "
"of the certificate. The remote certificate is either "
"self-signed, or the remote server uses SNI. See the wiki for "
"more information on this topic.")
+1 -1
View File
@@ -145,7 +145,7 @@ class _GNTPBase(object):
pointerEnd = pointerStart + dataLength
data = self.raw[pointerStart:pointerEnd]
if not len(data) == dataLength:
raise errors.ParseError('INVALID_DATA_LENGTH Expected: %s Recieved %s' % (dataLength, len(data)))
raise errors.ParseError('INVALID_DATA_LENGTH Expected: %s Received %s' % (dataLength, len(data)))
return data
def _validate_password(self, password):