[rhinstaller/anaconda/pulls/315 master] Do not use libuser

dashea installerbot-noreply at redhat.com
Thu Aug 27 17:16:05 UTC 2015


One more try with fixes for problems found while testing:

I had changed some kwargs.get("whatever") calls to if "whatever" in kwargs, which often does not work because pykickstart sets default values for all that stuff. I changed the kwargs processing back, with the exception of the uid/gid stuff which I changed from

```
if kwargs.get("gid", -1) >= 0:
```

to

```
if kwargs.get("gid") is not None:
```

because I think using -1 as a sentinel value looks dumb, and the default value from pykickstart is going to be None and not a weird special int.

Also added checks in the user create test to make sure the default values aren't messed up.
-- 
To view this pull request on github, visit https://github.com/rhinstaller/anaconda/pull/315


More information about the anaconda-patches mailing list