[PATCH 3/3] Fix import

Thomas Bechtold thomasbechtold at jpberlin.de
Fri Dec 23 17:27:49 UTC 2016


From: Thomas Bechtold <tbechtold at suse.com>

When calling setup.py while creating an sdist, the error was:

ImportError: No module named 'grabber'
---
 urlgrabber/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/urlgrabber/__init__.py b/urlgrabber/__init__.py
index b3047b0..636849c 100644
--- a/urlgrabber/__init__.py
+++ b/urlgrabber/__init__.py
@@ -52,4 +52,4 @@ __author__  = 'Michael D. Stenner <mstenner at linux.duke.edu>, ' \
               'Zdenek Pavlas <zpavlas at redhat.com>'
 __url__     = 'http://urlgrabber.baseurl.org/'
 
-from grabber import urlgrab, urlopen, urlread
+from urlgrabber.grabber import urlgrab, urlopen, urlread
-- 
2.11.0



More information about the Yum-devel mailing list