Skip to content

Commit 68367e6

Browse files
authored
[Bitbucket] Fix Python 2.7 incompatibility (#706)
Remove function annotation since this syntax is not supported in Python 2.7
1 parent c6673d8 commit 68367e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

atlassian/bitbucket/cloud/repositories/pullRequests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ class Build(BitbucketCloudBase):
363363
STATE_STOPPED = "STOPPED"
364364
STATE_SUCCESSFUL = "SUCCESSFUL"
365365

366-
def __init__(self, data, *args, **kwargs) -> None:
366+
def __init__(self, data, *args, **kwargs):
367367
super(Build, self).__init__(None, None, *args, data=data, expected_type="build", **kwargs)
368368

369369
@property

0 commit comments

Comments
 (0)