Python2 fixes
@@ -3,9 +3,13 @@ import logging
import os
import sys
import tempfile
-from urllib.parse import urlparse
import yaml
+try:
+ from urllib.parse import urlparse
+except ImportError:
+ from urlparse import urlparse
+
from cekit import crypto
from cekit.config import Config
from cekit.descriptor.resource import _PlainResource, _UrlResource
