diff --git a/blocksatcli/api/gpg.py b/blocksatcli/api/gpg.py index f837897..4401f6b 100644 --- a/blocksatcli/api/gpg.py +++ b/blocksatcli/api/gpg.py @@ -74,7 +74,7 @@ def create_keys(self, name, email, comment, passphrase=None): name_email=email, passphrase=self.passphrase) self.gpg.gen_key(key_params) - logger.info("Keys succesfully generated at {}".format( + logger.info("Keys successfully generated at {}".format( os.path.abspath(self.gpghome))) def prompt_passphrase(self, prompt=None): diff --git a/blocksatcli/api/msg.py b/blocksatcli/api/msg.py index 797fcac..f05d91b 100644 --- a/blocksatcli/api/msg.py +++ b/blocksatcli/api/msg.py @@ -315,7 +315,7 @@ def verify(self, gpg, signer): Detects whether the clearsigned plaintext messages comes from the specified signer. In the positive case, overwrite the "original" data container with the underlying data, excluding the signature. In other - words, if the verification is succesful, remove the signature and leave + words, if the verification is successful, remove the signature and leave the data only. Args: @@ -617,7 +617,7 @@ def decode(data, gpg : Gpg object. Returns: - ApiMsg if the message is succesfully decoded, None otherwise. + ApiMsg if the message is successfully decoded, None otherwise. """ if ((not plaintext or sender) and gpg is None): diff --git a/blocksatcli/monitoring_api.py b/blocksatcli/monitoring_api.py index 782b15e..70ee4d7 100644 --- a/blocksatcli/monitoring_api.py +++ b/blocksatcli/monitoring_api.py @@ -545,7 +545,7 @@ def _register_thread(self, # - Sent over the API channel dedicated for authentication messages download_dir = None # Don't save messages interface = config.get_net_if(self.user_info) - recv_queue = queue.Queue() # save API donwloads on this queue + recv_queue = queue.Queue() # save API downloads on this queue listen_loop = ApiListener(recv_queue=recv_queue) listen_thread = threading.Thread(target=listen_loop.run, daemon=True, diff --git a/blocksatcli/satip.py b/blocksatcli/satip.py index ec2ad44..8672a3f 100644 --- a/blocksatcli/satip.py +++ b/blocksatcli/satip.py @@ -144,7 +144,7 @@ def discover(self, src_port, interface): src_port: Source port. interface: Network interface. - Retuns: + Returns: List with the discovered devices """ diff --git a/blocksatcli/test_tsp.py b/blocksatcli/test_tsp.py index b77ddca..bfdf925 100644 --- a/blocksatcli/test_tsp.py +++ b/blocksatcli/test_tsp.py @@ -22,7 +22,7 @@ def test_file_save_prompt(self, mock_yes_or_no): def test_non_prompting_opts(self): # If the prompting options are not provided, the tsp command should be - # generated succesfully every time + # generated successfully every time tsp_handler = tsp.Tsp() args = self.parser.parse_args( ['--ts-monitor-bitrate', '--ts-monitor-sequence']) diff --git a/blocksatcli/tsp.py b/blocksatcli/tsp.py index b845167..9699981 100644 --- a/blocksatcli/tsp.py +++ b/blocksatcli/tsp.py @@ -149,7 +149,7 @@ def run(self, stdin=None): stdin : Stdin to attach to the tsp process. Rerturns: - Boolean indicating whether the process is running succesfully. + Boolean indicating whether the process is running successfully. """ # Create a .tsduck.lastcheck file on the home directory to skip the