Re: [master 1/2] Fix broken unit tests (cmdline, network).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> diff --git a/pyanaconda/cmdline.py b/pyanaconda/cmdline.py
> index 5b3e7a2..f45ea93 100644
> --- a/pyanaconda/cmdline.py
> +++ b/pyanaconda/cmdline.py
> @@ -34,6 +34,16 @@ _ = lambda x: gettext.ldgettext("anaconda", x)
>  import logging
>  log = logging.getLogger("anaconda")
>  
> +
> +def setupProgressDisplay(anaconda):
> +    if anaconda.dir == DISPATCH_BACK:
> +        anaconda.intf.setInstallProgressClass(None)
> +        return DISPATCH_BACK
> +    else:
> +        anaconda.intf.setInstallProgressClass(progressDisplay())
> +        
> +    return DISPATCH_FORWARD
> +
>  stepToClasses = { "install" : setupProgressDisplay }
>  
>  class WaitWindow:
> @@ -200,12 +210,3 @@ class progressDisplay:
>          if stripped != self.display:
>              self.display = stripped
>              print(self.display)
> -
> -def setupProgressDisplay(anaconda):
> -    if anaconda.dir == DISPATCH_BACK:
> -        anaconda.intf.setInstallProgressClass(None)
> -        return DISPATCH_BACK
> -    else:
> -        anaconda.intf.setInstallProgressClass(progressDisplay())
> -        
> -    return DISPATCH_FORWARD

This part fixes 725757.  Reassigning it to you so you can close when you
push this.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux