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

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

 



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"
 
-- 
1.6.6

_______________________________________________
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