Skip to content

Commit f271d73

Browse files
committed
Replace redundant yield with return
1 parent 8f831a4 commit f271d73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pypandoc/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ def get_python_level(pandoc_level):
437437

438438
log_msgs.append(msg)
439439

440-
yield get_python_level(pandoc_level), "\n".join(log_msgs)
440+
return get_python_level(pandoc_level), "\n".join(log_msgs)
441441

442442

443443
def _get_base_format(format):

0 commit comments

Comments
 (0)