Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 29, 2023
1 parent e4577ab commit 7f85f14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions feedparser/mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -645,8 +645,8 @@ def pop(self, element, strip_whitespace=1):
previous_output.append(output)
self.entries[-1][element] = previous_output
else:
if old_value_depth is None or self.depth <= old_value_depth:
self.entries[-1][element] = output
if old_value_depth is None or self.depth <= old_value_depth:
self.entries[-1][element] = output
if self.incontent:
contentparams = copy.deepcopy(self.contentparams)
contentparams["value"] = output
Expand Down

0 comments on commit 7f85f14

Please sign in to comment.