From bb8ab251e6eecd5b35a7477ef800893b9f04dbd4 Mon Sep 17 00:00:00 2001 From: Wojciech Szymak Date: Mon, 9 Jun 2025 12:29:57 +0200 Subject: [PATCH] urlparse fix for python 3 --- ari/client.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ari/client.py b/ari/client.py index c1ce6e7..0f27e25 100644 --- a/ari/client.py +++ b/ari/client.py @@ -7,7 +7,10 @@ import json import logging -import urlparse +try: + import urlparse +except ImportError: + import urllib.parse as urlparse import swaggerpy.client from ari.model import *