mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 18:51:29 +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:
10
git_retry.py
10
git_retry.py
@@ -77,12 +77,12 @@ class GitRetry(object):
|
||||
def computeDelay(self, iteration):
|
||||
"""Returns: the delay (in seconds) for a given iteration
|
||||
|
||||
The first iteration has a delay of '0'.
|
||||
The first iteration has a delay of '0'.
|
||||
|
||||
Args:
|
||||
iteration: (int) The iteration index (starting with zero as the first
|
||||
iteration)
|
||||
"""
|
||||
Args:
|
||||
iteration: (int) The iteration index (starting with zero as the
|
||||
first iteration)
|
||||
"""
|
||||
if (not self.delay) or (iteration == 0):
|
||||
return 0
|
||||
if self.delay_factor == 0:
|
||||
|
||||
Reference in New Issue
Block a user