mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 18:51:29 +00:00
split_cl: Fix Emit-related warnings
Encountered while using `git cl split`. Bug: None Change-Id: I8ecaf44a64a5917f50176b8d88e367731a6dee35 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6309324 Commit-Queue: Josip Sokcevic <sokcevic@chromium.org> Reviewed-by: Josip Sokcevic <sokcevic@chromium.org> Reviewed-by: Devon Loehr <dloehr@google.com> Auto-Submit: Peter Wen <wnwen@chromium.org>
This commit is contained in:
@@ -346,7 +346,6 @@ def PrintClInfo(cl_index, num_cls, cl_description, file_paths, user_description,
|
||||
Emit('Topic: {}'.format(topic))
|
||||
Emit('\n' + indented_description + '\n')
|
||||
Emit('\n'.join(file_paths))
|
||||
Emit()
|
||||
|
||||
|
||||
def LoadDescription(description_file, dry_run):
|
||||
@@ -370,7 +369,7 @@ def PrintSummary(cl_infos, refactor_branch):
|
||||
to the files and directories assigned to them.
|
||||
"""
|
||||
for info in cl_infos:
|
||||
Emit(f'Reviewers: {info.reviewers}, files: {len(info.files)}, ',
|
||||
Emit(f'Reviewers: {info.reviewers}, files: {len(info.files)}, '
|
||||
f'description: {info.description}')
|
||||
|
||||
num_cls = len(cl_infos)
|
||||
|
||||
Reference in New Issue
Block a user