Skip to content

Commit 95c4274

Browse files
authored
HotFix (#396)
* Hotfix for jira8 class
1 parent 6a37d12 commit 95c4274

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

atlassian/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
1.14.4
1+
1.14.4.1
22

atlassian/jira.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1078,7 +1078,6 @@ def get_attachment(self, attachment_id):
10781078
:return:
10791079
"""
10801080
url = 'rest/api/2/attachment/{}'.format(attachment_id)
1081-
10821081
return self.get(url)
10831082

10841083
def remove_attachment(self, attachment_id):
@@ -1088,7 +1087,6 @@ def remove_attachment(self, attachment_id):
10881087
:return: if success, return None
10891088
"""
10901089
url = 'rest/api/2/attachment/{}'.format(attachment_id)
1091-
10921090
return self.delete(url)
10931091

10941092
def get_attachment_meta(self):
@@ -1098,7 +1096,6 @@ def get_attachment_meta(self):
10981096
:return:
10991097
"""
11001098
url = 'rest/api/2/attachment/meta'
1101-
11021099
return self.get(url)
11031100

11041101
def add_attachment(self, issue_key, filename):
@@ -1112,7 +1109,7 @@ def add_attachment(self, issue_key, filename):
11121109
url = 'rest/api/2/issue/{}/attachments'.format(issue_key)
11131110
with open(filename, 'rb') as attachment:
11141111
files = {'file': attachment}
1115-
return self.post(url, headers=headers, files=files)
1112+
return self.post(url, headers=headers, files=files)
11161113

11171114
def get_issue_remotelinks(self, issue_key, global_id=None, internal_id=None):
11181115
"""

atlassian/jira8.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ class Jira8(Jira):
1010
# methods migrated into main module
1111
@staticmethod
1212
def print_module_name():
13-
print(__name__)
13+
print("The class {} merged into Jira Class".format(__name__))

0 commit comments

Comments
 (0)