Skip to content

Commit 9b3d6b4

Browse files
committed
remove lambda
1 parent 38e02ed commit 9b3d6b4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

atlassian/bitbucket/base.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@ def __init__(self, url, *args, **kwargs):
3030
url = self.get_link("self")
3131
if isinstance(url, list): # Server has a list of links
3232
url = url[0]
33-
self.timeformat_lambda = kwargs.pop(
34-
"timeformat_lambda", lambda x: self._default_timeformat_lambda(x)
35-
)
33+
self.timeformat_lambda = kwargs.pop("timeformat_lambda", self._default_timeformat_lambda)
3634
self._check_timeformat_lambda()
3735
super(BitbucketBase, self).__init__(url, *args, **kwargs)
3836

0 commit comments

Comments
 (0)