[f21/master] Log more details about collect failure

Brian C. Lane bcl at redhat.com
Thu Jul 17 22:08:10 UTC 2014


---
 pyanaconda/ui/common.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyanaconda/ui/common.py b/pyanaconda/ui/common.py
index b151afe..e4f994e 100644
--- a/pyanaconda/ui/common.py
+++ b/pyanaconda/ui/common.py
@@ -657,7 +657,7 @@ def collect(module_pattern, path, pred):
             if module_path and "pyanaconda" in module_path:
                 # failure when importing our own module:
                 raise
-            log.error("Failed to import module in collect: %s", imperr)
+            log.error("Failed to import module %s from path %s in collect: %s", mod_name, module_path, imperr)
             continue
         finally:
             imp.release_lock()
-- 
1.9.3



More information about the anaconda-patches mailing list