Skip to content
Open

Fastapi #1775

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions IM/AppDB.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@
import os
import requests
import xmltodict
try:
from urlparse import urlparse
except ImportError:
from urllib.parse import urlparse
from urllib.parse import urlparse


class AppDB:
Expand Down
5 changes: 1 addition & 4 deletions IM/AppDBIS.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

try:
from urlparse import urlparse
except ImportError:
from urllib.parse import urlparse
from urllib.parse import urlparse
import requests
import re
import time
Expand Down
5 changes: 1 addition & 4 deletions IM/CloudInfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.

import json
try:
from urlparse import urlparse
except ImportError:
from urllib.parse import urlparse
from urllib.parse import urlparse


class CloudInfo:
Expand Down
5 changes: 1 addition & 4 deletions IM/ConfManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@
import shutil
from packaging.version import Version

try:
from StringIO import StringIO
except ImportError:
from io import StringIO
from io import StringIO
from multiprocessing import Queue

from ansible import __version__ as ansible_version
Expand Down
5 changes: 1 addition & 4 deletions IM/FedcloudInfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@

import requests

try:
from urlparse import urlparse
except ImportError:
from urllib.parse import urlparse
from urllib.parse import urlparse

from radl.radl import Feature, system

Expand Down
5 changes: 1 addition & 4 deletions IM/InfrastructureInfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@
from radl.radl_parse import parse_radl
from radl.radl_json import radlToSimple
from IM.config import Config
try:
from Queue import PriorityQueue
except ImportError:
from queue import PriorityQueue
from queue import PriorityQueue
from IM.VirtualMachine import VirtualMachine
from IM.auth import Authentication
from IM.tosca.Tosca import Tosca
Expand Down
Loading