[PATCH 1/4] Move the import constants line below setupUpdates
Vratislav Podzimek
vpodzime at redhat.com
Tue Dec 18 13:41:32 UTC 2012
On Tue, 2012-12-18 at 14:37 +0100, Martin Sivak wrote:
> ---
> anaconda | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
'setupPythonUpdates' should be in the commit message.
>
> diff --git a/anaconda b/anaconda
> index d0b945b..cc02a5c 100755
> --- a/anaconda
> +++ b/anaconda
> @@ -32,8 +32,6 @@
>
> import atexit, sys, os, re, time, subprocess
> from tempfile import mkstemp
> -from pyanaconda import constants
> -
> # keep up with process ID of the window manager if we start it
> wm_pid = None
>
> @@ -643,6 +641,8 @@ if __name__ == "__main__":
> setupPythonUpdates()
> setupPythonPath()
>
> + from pyanaconda import constants
> +
> # do this early so we can set flags before initializing logging
> from pyanaconda.flags import flags
> (opts, args, depr) = parseOptions(cmdline=flags.cmdline)
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic
More information about the anaconda-patches
mailing list