Skip to content

Remove redundant lines from PrettifyTreeprocessor#1269

Merged
waylan merged 1 commit intoPython-Markdown:masterfrom
h4b4n3r0:1267-remove-redundant-code
Jun 13, 2022
Merged

Remove redundant lines from PrettifyTreeprocessor#1269
waylan merged 1 commit intoPython-Markdown:masterfrom
h4b4n3r0:1267-remove-redundant-code

Conversation

@h4b4n3r0
Copy link

@h4b4n3r0 h4b4n3r0 commented Jun 11, 2022

This MR removes redundant code and fixes #1267

Lines in 409 and 410 are part of an if-condition-block. However, they are called identically L411 and L412 outside of the if-block anyways.

@waylan waylan merged commit 97359a4 into Python-Markdown:master Jun 13, 2022
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.

Redundant code in PrettifyTreeprocessor._prettifyETree

2 participants