Skip to content

Commit 4a6c6da

Browse files
author
Gonchik Tsymzhitov
committed
Change the os version
1 parent 5371e8a commit 4a6c6da

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
run-docker:
1515

16-
runs-on: ubuntu-18.04
16+
runs-on: ubuntu-latest
1717

1818
strategy:
1919
fail-fast: false

examples/jira/jira_index_fixer.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
# coding=utf-8
12
from atlassian import Jira
3+
from pprint import pprint
24

35
JIRA_NODE_URL = "JIRA_NODES_1"
46
JIRA_LOGIN = "admin"
@@ -15,7 +17,9 @@ def deindex_issue(self, issue_id):
1517

1618
s = IndexFixer(url=JIRA_NODE_URL, username=JIRA_LOGIN, password=JIRA_PASSWD)
1719
response = s.index_checker()
18-
print(response)
20+
print("-" * 20)
21+
pprint(response)
22+
print("-" * 20)
1923
fixer = False
2024
index_orphant_issues_count = response["indexOrphansCount"]
2125
if index_orphant_issues_count > 0:

0 commit comments

Comments
 (0)