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

unnecessary line removed #817

Merged
merged 1 commit into from
Aug 18, 2024
Merged

Conversation

gonatienza
Copy link
Contributor

@gonatienza gonatienza commented Jul 4, 2024

Removed unnecessary orphaned line (self._len_ct += len(plaintext)) that would raise exception if it were not under the exception raised by the KeyError exception handling.

try:
    key = kwargs.pop("key")
except KeyError as e:
    raise TypeError("Missing parameter %s" % e)

    self._len_ct += len(plaintext)

@Legrandin Legrandin merged commit 1543ad6 into Legrandin:master Aug 18, 2024
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants