Skip to content

Commit 23370dd

Browse files
author
Gonchik Tsymzhitov
committed
Prepare a new version
1 parent 5ba8b75 commit 23370dd

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

atlassian/bitbucket.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -957,10 +957,10 @@ def open_pull_request(self, source_project, source_repo, dest_project, dest_repo
957957
'reviewers': []
958958
}
959959

960-
def add_reviewer(reviewer):
960+
def add_reviewer(reviewer_name):
961961
entry = {
962962
'user': {
963-
'name': reviewer
963+
'name': reviewer_name
964964
}
965965
}
966966
body['reviewers'].append(entry)

examples/bitbucket/bitbucket-clean-jira-branches.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ def is_can_removed_branch(branch_candidate):
6565
return False
6666

6767
# check issues statuses
68-
exclude = False
6968
issues_in_metadata = branch_candidate.get('metadata').get(branch_related_issues)
7069
for issue in issues_in_metadata:
7170
if jira.get_issue_status(issue.get('key')) not in ACCEPTED_ISSUE_STATUSES:

examples/confluence/confluence-page-properties.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@
4040

4141
# Delete page property
4242
print("DELETE")
43-
print(confluence.delete_page_property(242793586, "newprp"))
43+
print(confluence.delete_page_property(242793586, "newprp"))

tests/test-confluence-attach.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ class TestConfluenceAttach(unittest.TestCase):
2222

2323
def test_confluence_attach_file_1(self):
2424
credentials = None
25-
2625
try:
2726
with open(self.secret_file) as json_file:
2827
credentials = json.load(json_file)

0 commit comments

Comments
 (0)