Blame SOURCES/0008-do-not-require-urlgrabber.patch

1070a0
From dc08d632d0f27e194da5cec05a1f367237ae4e2c Mon Sep 17 00:00:00 2001
1070a0
From: Tomas Kasparek <tkasparek@redhat.com>
1070a0
Date: Mon, 5 Mar 2018 11:35:29 +0100
1070a0
Subject: [PATCH 08/17] do not require urlgrabber
1070a0
1070a0
---
1070a0
 koan/utils.py | 3 +--
1070a0
 1 file changed, 1 insertion(+), 2 deletions(-)
1070a0
1070a0
diff --git a/koan/utils.py b/koan/utils.py
1070a0
index f2f2692..b24fa0f 100644
1070a0
--- a/koan/utils.py
1070a0
+++ b/koan/utils.py
1070a0
@@ -33,7 +33,6 @@ except ImportError: #python3
1070a0
     import xmlrpc.client as xmlrpclib
1070a0
 import shutil
1070a0
 import tempfile
1070a0
-import urlgrabber
1070a0
 
1070a0
 VIRT_STATE_NAME_MAP = {
1070a0
    0 : "running",
1070a0
@@ -493,7 +492,7 @@ def make_floppy(kickstart):
1070a0
     # download the kickstart file onto the mounted floppy
1070a0
     print("- downloading %s" % kickstart)
1070a0
     save_file = os.path.join(mount_path, "unattended.txt")
1070a0
-    urlgrabber.urlgrab(kickstart,filename=save_file)
1070a0
+    urlgrab(kickstart,filename=save_file)
1070a0
 
1070a0
     # umount    
1070a0
     cmd = "umount %s" % mount_path
1070a0
-- 
1070a0
2.5.5
1070a0