From 6bdb18e26f7df94e339b8f9257c6792456b52661 Mon Sep 17 00:00:00 2001 From: Mike Bonnet Date: Tue, 8 Jan 2019 07:34:16 -0800 Subject: [PATCH] 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. --- vm/kojikamid.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vm/kojikamid.py b/vm/kojikamid.py index d9620505..6a41aa5c 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