[Freeipa-devel] [PATCH] add new users as member of default group

Jason Gerard DeRose jderose at redhat.com
Wed Feb 18 22:30:49 UTC 2009


On Wed, 2009-02-18 at 16:51 -0500, Rob Crittenden wrote:
> Add new users as a member of the default group. Prior to this we were 
> just setting the GID to be the default group.
> 
> This way they will show up as a member of the group instead of 
> implicitly being a member (by gid)
> 
> rob

ack, but we should clean this up later after the errors/errors2 cleanup.

Also, Python exceptions are classes and you should raise instances:

Yes:
raise NotFound(my_msg)

No:
raise NotFound, my_msg


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090218/3da023e0/attachment.sig>


More information about the Freeipa-devel mailing list