[PATCH master] syntax errors correcting

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

 



---
 pyanaconda/users.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pyanaconda/users.py b/pyanaconda/users.py
index 9b51bc6..de5a1c8 100644
--- a/pyanaconda/users.py
+++ b/pyanaconda/users.py
@@ -126,7 +126,7 @@ class Users:
                 groupEnt = self.admin.initGroup(name)
 
                 if "gid" in kwargs and kwargs["gid"] >= 0:
-                    groupEnt.set(libuser.GIDNUMBER, kwargs]"gid"])
+                    groupEnt.set(libuser.GIDNUMBER, kwargs["gid"])
 
                 self.admin.addGroup(groupEnt)
                 os._exit(0)
@@ -312,7 +312,7 @@ class Users:
             for gd in self.anaconda.ksdata.group.groupList:
                 kwargs = gd.__dict__
                 kwargs.update({"root": instPath})
-                if not self.createGroup(gd.name, **kwargs)
+                if not self.createGroup(gd.name, **kwargs):
                     log.error("Group %s already exists, not creating." % gd.name)
 
             for ud in self.anaconda.ksdata.user.userList:
-- 
1.7.4

_______________________________________________
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