Re: [rhel6-branch] fix: traceback in check_memory() (#595284).

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/24/2010 05:25 AM, Ales Kozumplik wrote:
> because on livecd, opts.stage2 is None.
> ---
>  anaconda |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/anaconda b/anaconda
> index 7be6cc8..2834c70 100755
> --- a/anaconda
> +++ b/anaconda
> @@ -373,7 +373,7 @@ def check_memory(opts, display_mode=None):
>  
>      extra_ram = 0
>      reason = ''
> -    if opts.stage2.startswith(('http', 'ftp', '@')):
> +    if opts.stage2 and opts.stage2.startswith(('http', 'ftp', '@')):
>          extra_ram += isys.URL_INSTALL_EXTRA_RAM
>          reason = " using this install method"
>  

ack

- -- 
Brian C. Lane <bcl@xxxxxxxxxx>
Red Hat / Port Orchard, WA
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEVAwUBS/qxUhF+jBaO/jp/AQKCBwf+M07T2ltgXwqXtZ0PkjD6D+ktjeWkmAJL
7Np1f86ubBlcqvEzblCQ5RC5d45ywKQF/wYnNvXeAy+i9Q2TB1fNH65ifW2I7qRK
ottvYMRZtWR5VK8Y7Wkt6VrzwWuZ+L5tB4N8TuW3eG9nL8Hvj+bbIdNeszTPhQOZ
yM88BN5tT4lVnqcMktk9/g9oPDCQZTxnhLe2L5lgDrnBZDhih1qoFRxpsCbfCWgG
XCjCUKih+nrwXI0G6bq+2jKx6Cw+9cSFgyPVYdoFVNu6h+5HHRt0wBztr/x+I3Pz
mU+Yoe+ruqIcujoHpmzvdllHNgpN48sS9TtH3tJEVwpZbx/rNwHIZA==
=bHle
-----END PGP SIGNATURE-----

_______________________________________________
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