mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 10:41:31 +00:00
Fix multiline comment formatting
Many incorrectly formatted comments exist from the switch to 4 space indent: https://crrev.com/c/4836379 Bug: 1514505 Change-Id: I6366f9da812919bd35b999f18fa8a49b7a66c09b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5153633 Commit-Queue: Gavin Mak <gavinmak@google.com> Reviewed-by: Josip Sokcevic <sokcevic@chromium.org>
This commit is contained in:
@@ -61,7 +61,7 @@ def check_call(*args, **kwargs):
|
||||
|
||||
def return_code(*args, **kwargs):
|
||||
"""subprocess2.call() passing shell=True on Windows for git and
|
||||
subprocess2.DEVNULL for stdout and stderr."""
|
||||
subprocess2.DEVNULL for stdout and stderr."""
|
||||
kwargs.setdefault('shell', NEED_SHELL)
|
||||
kwargs.setdefault('stdout', subprocess2.DEVNULL)
|
||||
kwargs.setdefault('stderr', subprocess2.DEVNULL)
|
||||
@@ -166,8 +166,8 @@ def get_submodule_rev(submodule):
|
||||
|
||||
def calculate_roll(full_dir, dependency, roll_to):
|
||||
"""Calculates the roll for a dependency by processing gclient_dict, and
|
||||
fetching the dependency via git.
|
||||
"""
|
||||
fetching the dependency via git.
|
||||
"""
|
||||
# if the super-project uses submodules, get rev directly using git.
|
||||
if is_submoduled():
|
||||
head = get_submodule_rev(dependency)
|
||||
|
||||
Reference in New Issue
Block a user