Skip to content

Commit 23cf8b6

Browse files
committed
refactor: revert redundant change
1 parent d912aa3 commit 23cf8b6

File tree

1 file changed

+2
-2
lines changed
  • sdks/python/apache_beam/transforms

1 file changed

+2
-2
lines changed

Diff for: sdks/python/apache_beam/transforms/core.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1504,8 +1504,8 @@ def _check_fn_use_yield_and_return(fn):
15041504
has_yield = False
15051505
has_return = False
15061506
return_none_warning = (
1507-
f"No iterator is returned by the "
1508-
f"process method in {fn.__self__.__class__}.")
1507+
"No iterator is returned by the process method in %s.",
1508+
fn.__self__.__class__)
15091509
for line in source_code.split("\n"):
15101510
lstripped_line = line.lstrip()
15111511
if lstripped_line.startswith("yield ") or lstripped_line.startswith(

0 commit comments

Comments
 (0)