Skip to content

Commit

Permalink
Prepare a new version
Browse files Browse the repository at this point in the history
  • Loading branch information
Gonchik Tsymzhitov committed Aug 19, 2020
1 parent 5ba8b75 commit 23370dd
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions atlassian/bitbucket.py
Original file line number Diff line number Diff line change
Expand Up @@ -957,10 +957,10 @@ def open_pull_request(self, source_project, source_repo, dest_project, dest_repo
'reviewers': []
}

def add_reviewer(reviewer):
def add_reviewer(reviewer_name):
entry = {
'user': {
'name': reviewer
'name': reviewer_name
}
}
body['reviewers'].append(entry)
Expand Down
1 change: 0 additions & 1 deletion examples/bitbucket/bitbucket-clean-jira-branches.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ def is_can_removed_branch(branch_candidate):
return False

# check issues statuses
exclude = False
issues_in_metadata = branch_candidate.get('metadata').get(branch_related_issues)
for issue in issues_in_metadata:
if jira.get_issue_status(issue.get('key')) not in ACCEPTED_ISSUE_STATUSES:
Expand Down
2 changes: 1 addition & 1 deletion examples/confluence/confluence-page-properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@

# Delete page property
print("DELETE")
print(confluence.delete_page_property(242793586, "newprp"))
print(confluence.delete_page_property(242793586, "newprp"))
1 change: 0 additions & 1 deletion tests/test-confluence-attach.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ class TestConfluenceAttach(unittest.TestCase):

def test_confluence_attach_file_1(self):
credentials = None

try:
with open(self.secret_file) as json_file:
credentials = json.load(json_file)
Expand Down

0 comments on commit 23370dd

Please sign in to comment.