From 19241f627259fef20231a505230c19e63ae807a0 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 2 Sep 2014 09:47:48 +0200 Subject: fix misc errors + write test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/libgamma_native_error.pyx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/libgamma_native_error.pyx') diff --git a/src/libgamma_native_error.pyx b/src/libgamma_native_error.pyx index b10dc5a..d88f7fe 100644 --- a/src/libgamma_native_error.pyx +++ b/src/libgamma_native_error.pyx @@ -93,6 +93,7 @@ def libgamma_native_set_group_gid(gid : int): Group that the user needs to be a member of if `LIBGAMMA_DEVICE_REQUIRE_GROUP` is returned. ''' + global libgamma_group_gid libgamma_group_gid = gid @@ -120,6 +121,7 @@ def libgamma_native_set_group_name(name : str): `None` if the name of the group `libgamma_group_gid` cannot be determined. ''' + global libgamma_group_name cdef bytes bs if name is None: libgamma_group_name = NULL -- cgit v1.2.3-70-g09d2