From 17b94c6c949bf5ce36569f2f539dd5fa5fee896f Mon Sep 17 00:00:00 2001 From: Mike Bonnet Date: Jan 08 2019 15:34:16 +0000 Subject: re-add import removed by 921258749a2be5686de2cd3d2804c627c51d2b12 kojikamid has code from other files substituted into it, to reduce copy-paste. In this case, the SCM class from koji/daemon.py requires the urlparse module. --- diff --git a/vm/kojikamid.py b/vm/kojikamid.py index 21403f6..c141e7d 100755 --- a/vm/kojikamid.py +++ b/vm/kojikamid.py @@ -34,6 +34,9 @@ import subprocess import sys import tempfile import time +# urlparse is required by the SCM class which is substituted into this file +# do not remove the import below +import urlparse import six.moves.xmlrpc_client import base64 import hashlib