[f21/master] Log more details about collect failure
David Lehman
dlehman at redhat.com
Fri Jul 18 00:32:30 UTC 2014
On 07/17/2014 05:08 PM, Brian C. Lane wrote:
> ---
> 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()
>
ACK
More information about the anaconda-patches
mailing list