util Module¶
-
gaffer.util.check_gid(val)[source]¶ Return a gid, given a group value
If the group value is unknown, raises a ValueError.
-
gaffer.util.check_uid(val)[source]¶ Return an uid, given a user value. If the value is an integer, make sure it’s an existing uid.
If the user value is unknown, raises a ValueError.