From 45c80ef9215b9652da33027411233df8be9d8f8a Mon Sep 17 00:00:00 2001 From: Hograth Minestone Date: Thu, 28 Jan 2021 16:26:19 +0300 Subject: [PATCH] [Bitbucket] Fix Python 2.7 incompatibility Remove function annotation since this syntax is not supported in Python 2.7 --- atlassian/bitbucket/cloud/repositories/pullRequests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atlassian/bitbucket/cloud/repositories/pullRequests.py b/atlassian/bitbucket/cloud/repositories/pullRequests.py index b2a836ff0..d9c31ad77 100644 --- a/atlassian/bitbucket/cloud/repositories/pullRequests.py +++ b/atlassian/bitbucket/cloud/repositories/pullRequests.py @@ -363,7 +363,7 @@ class Build(BitbucketCloudBase): STATE_STOPPED = "STOPPED" STATE_SUCCESSFUL = "SUCCESSFUL" - def __init__(self, data, *args, **kwargs) -> None: + def __init__(self, data, *args, **kwargs): super(Build, self).__init__(None, None, *args, data=data, expected_type="build", **kwargs) @property