[PATCH 1/2] Don't panic on installclasses failing with inst.debug

Chris Lumens clumens at redhat.com
Mon Nov 18 21:07:54 UTC 2013


> diff --git a/pyanaconda/installclass.py b/pyanaconda/installclass.py
> index e2c7f32..793b591 100644
> --- a/pyanaconda/installclass.py
> +++ b/pyanaconda/installclass.py
> @@ -202,8 +202,7 @@ def availableClasses(showHidden=0):
>                  lst.append(((obj.name, obj), sortOrder))
>          except (ImportError, AttributeError):
>              log.warning ("module import of %s failed: %s", mainName, sys.exc_type)
> -            if flags.debug: raise
> -            else: continue
> +            continue

The continue here isn't necessary.

- Chris


More information about the anaconda-patches mailing list