Oh nevermind, I see it now. FWIW, the "correct" fix for this is to just extend the try/except block that converts uid to int. It should also catch "TypeError", or the getenv call for PKEXEC_UID should have a fallback of '', which would trigger ValueError instead.
Oh nevermind, I see it now. FWIW, the "correct" fix for this is to just extend the try/except block that converts uid to int. It should also catch "TypeError", or the getenv call for PKEXEC_UID should have a fallback of '', which would trigger ValueError instead.