From ebf709923d46eb7028b7fd04f70eef02d0393eb2 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Sun, 23 Jul 2023 12:08:56 -0400 Subject: [PATCH] Python2: Use six.moves.urllib --- .../bitbucket/cloud/repositories/deploymentEnvironments.py | 2 +- examples/jira/jira_project_leaders.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/atlassian/bitbucket/cloud/repositories/deploymentEnvironments.py b/atlassian/bitbucket/cloud/repositories/deploymentEnvironments.py index 61a3dee80..d217b4208 100644 --- a/atlassian/bitbucket/cloud/repositories/deploymentEnvironments.py +++ b/atlassian/bitbucket/cloud/repositories/deploymentEnvironments.py @@ -2,7 +2,7 @@ from ..base import BitbucketCloudBase -from urllib.parse import urlunsplit, urlsplit +from six.moves.urllib.parse import urlunsplit, urlsplit class DeploymentEnvironments(BitbucketCloudBase): diff --git a/examples/jira/jira_project_leaders.py b/examples/jira/jira_project_leaders.py index cad19a3ce..16ac91970 100644 --- a/examples/jira/jira_project_leaders.py +++ b/examples/jira/jira_project_leaders.py @@ -1,5 +1,6 @@ # coding=utf-8 -from urllib.parse import quote + +from six.moves.urllib.parse import quote from atlassian import Jira