From 392e4f68a1632b12788452d838fc7d6b41baebe1 Mon Sep 17 00:00:00 2001 From: Spacetown Date: Tue, 3 Aug 2021 20:53:37 +0200 Subject: [PATCH] [BitBucket] Replace fstring with format function. --- atlassian/bitbucket/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atlassian/bitbucket/__init__.py b/atlassian/bitbucket/__init__.py index 80b3e4398..809b79bc4 100644 --- a/atlassian/bitbucket/__init__.py +++ b/atlassian/bitbucket/__init__.py @@ -2638,7 +2638,7 @@ def download_repo_archive( :param prefix: string: Optional, a prefix to apply to all entries in the streamed archive; if the supplied prefix does not end with a trailing /, one will be added automatically :param chunk_size: int: Optional, download chunk size. Defeault is 128 """ - url = f"{self._url_repo(project_key, repository_slug)}/archive" + url = "{}/archive".format(self._url_repo(project_key, repository_slug)) params = {} if at is not None: params["at"] = at