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

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

 



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

_______________________________________________
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