Comment 6 for bug 628933

Revision history for this message
Siegfried Gevatter (rainct) wrote :

I have just pushed a possible solution, can you please test whether this works for you?

If I understood the problem correctly, your attempt to change os.environ didn't work because by default `sudo' strips out all unknown variables (see "sudo -s 'sudo -V'"). This can be worked around by defining them inside the sudo call as I did.