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

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



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


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