Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: typos #103

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion blocksatcli/api/gpg.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
4 changes: 2 additions & 2 deletions blocksatcli/api/msg.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion blocksatcli/monitoring_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion blocksatcli/satip.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def discover(self, src_port, interface):
src_port: Source port.
interface: Network interface.

Retuns:
Returns:
List with the discovered devices

"""
Expand Down
2 changes: 1 addition & 1 deletion blocksatcli/test_tsp.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'])
Expand Down
2 changes: 1 addition & 1 deletion blocksatcli/tsp.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down