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

[PATCH master] Fix missing argument in function call pyanaconda/flags.py line 39



Hi, 
here is small patch to pyanaconda/flags.py. There is missing parameter
in function call.

diff --git a/pyanaconda/flags.py b/pyanaconda/flags.py
index 0c6d734..a7cb92e 100644
--- a/pyanaconda/flags.py
+++ b/pyanaconda/flags.py
@@ -36,7 +36,7 @@ class Flags(object):
 
     def set_cmdline_bool(self, flag):
         if flag in self.cmdline:
-            setattr(self, self.cmdline.getbool(flag))
+            setattr(self, flag, self.cmdline.getbool(flag))
 
     def __init__(self, read_cmdline=True):
         self.__dict__['_in_init'] = True

When you try to boot with selinux=0 parameter it falls down due to
missing argument in setattr call. I tested patch in python console and
it works.

Regards
Petr Schindler
FedoraQA


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