Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
renatav committed Mar 24, 2021
1 parent 639e811 commit a380f9f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions taf/updater/updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,8 +458,7 @@ def _update_target_repositories(
def _get_commits(
repository, existing_repository, branch, only_validate, old_head, branch_exists
):
"""Returns a list of newly fetched commits belonging to the specified branch.
"""
"""Returns a list of newly fetched commits belonging to the specified branch."""
if existing_repository:
repository.fetch(branch=branch)
if old_head is not None:
Expand Down Expand Up @@ -506,7 +505,7 @@ def _get_commits(
def _merge_branch_commits(
repository, branch, branch_commits, allow_unauthenticated, new_branch_commits
):
""" Determines which commits needs to be merged into the specified branch and
"""Determines which commits needs to be merged into the specified branch and
merge it.
"""
last_commit = branch_commits[-1]["commit"]
Expand All @@ -519,7 +518,7 @@ def _merge_branch_commits(


def _merge_commit(repository, branch, commit_to_merge, allow_unauthenticated=False):
""" Merge the specified commit into the given branch and check out the branch.
"""Merge the specified commit into the given branch and check out the branch.
If the repository cannot contain unauthenticated commits, check out the merged commit.
"""
checkout = True
Expand Down

0 comments on commit a380f9f

Please sign in to comment.