diff --git a/atlassian/VERSION b/atlassian/VERSION index c97038c79..c8c23e55b 100644 --- a/atlassian/VERSION +++ b/atlassian/VERSION @@ -1,2 +1,2 @@ -1.14.4 +1.14.4.1 diff --git a/atlassian/jira.py b/atlassian/jira.py index e6c650bf7..68487b68d 100644 --- a/atlassian/jira.py +++ b/atlassian/jira.py @@ -1078,7 +1078,6 @@ def get_attachment(self, attachment_id): :return: """ url = 'rest/api/2/attachment/{}'.format(attachment_id) - return self.get(url) def remove_attachment(self, attachment_id): @@ -1088,7 +1087,6 @@ def remove_attachment(self, attachment_id): :return: if success, return None """ url = 'rest/api/2/attachment/{}'.format(attachment_id) - return self.delete(url) def get_attachment_meta(self): @@ -1098,7 +1096,6 @@ def get_attachment_meta(self): :return: """ url = 'rest/api/2/attachment/meta' - return self.get(url) def add_attachment(self, issue_key, filename): @@ -1112,7 +1109,7 @@ def add_attachment(self, issue_key, filename): url = 'rest/api/2/issue/{}/attachments'.format(issue_key) with open(filename, 'rb') as attachment: files = {'file': attachment} - return self.post(url, headers=headers, files=files) + return self.post(url, headers=headers, files=files) def get_issue_remotelinks(self, issue_key, global_id=None, internal_id=None): """ diff --git a/atlassian/jira8.py b/atlassian/jira8.py index d677fd748..e0fc3dcf6 100644 --- a/atlassian/jira8.py +++ b/atlassian/jira8.py @@ -10,4 +10,4 @@ class Jira8(Jira): # methods migrated into main module @staticmethod def print_module_name(): - print(__name__) + print("The class {} merged into Jira Class".format(__name__))