[PATCH] THREAD_* constants are in pyanaconda, not pykickstart.

Vratislav Podzimek vpodzime at redhat.com
Tue Mar 26 09:19:26 UTC 2013


On Mon, 2013-03-25 at 16:50 -0400, Chris Lumens wrote:
> ---
>  pyanaconda/ui/gui/hubs/progress.py | 3 ++-
>  pyanaconda/ui/tui/hubs/progress.py | 3 ++-
>  2 files changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/pyanaconda/ui/gui/hubs/progress.py b/pyanaconda/ui/gui/hubs/progress.py
> index 40c1531..a1da2fd 100644
> --- a/pyanaconda/ui/gui/hubs/progress.py
> +++ b/pyanaconda/ui/gui/hubs/progress.py
> @@ -33,7 +33,8 @@ import sys
>  from pyanaconda.localization import expand_langs
>  from pyanaconda.product import productName
>  from pyanaconda.flags import flags
> -from pykickstart.constants import KS_WAIT, KS_SHUTDOWN, KS_REBOOT, THREAD_INSTALL, THREAD_CONFIGURATION
> +from pyanaconda.constants import THREAD_INSTALL, THREAD_CONFIGURATION
> +from pykickstart.constants import KS_WAIT, KS_SHUTDOWN, KS_REBOOT
>  
>  from pyanaconda.ui.gui.hubs import Hub
>  from pyanaconda.ui.gui.utils import gtk_action_nowait, gtk_call_once
> diff --git a/pyanaconda/ui/tui/hubs/progress.py b/pyanaconda/ui/tui/hubs/progress.py
> index cbe3e07..3e22619 100644
> --- a/pyanaconda/ui/tui/hubs/progress.py
> +++ b/pyanaconda/ui/tui/hubs/progress.py
> @@ -26,7 +26,8 @@ import gettext
>  _ = lambda x: gettext.ldgettext("anaconda", x)
>  
>  from pyanaconda.flags import flags
> -from pykickstart.constants import KS_SHUTDOWN, KS_REBOOT, THREAD_INSTALL, THREAD_CONFIGURATION
> +from pyanaconda.constants import THREAD_INSTALL, THREAD_CONFIGURATION
> +from pykickstart.constants import KS_SHUTDOWN, KS_REBOOT
>  
>  from pyanaconda.ui.tui.hubs import TUIHub
>  from pyanaconda.ui.tui.simpleline.base import ExitAllMainLoops
ACK.

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list