Comment 117 for bug 804662

Revision history for this message
Martin Pitt (pitti) wrote :

Matthias ran the test script for me:

11:02:44 doko | $ python test.py
11:02:44 doko | main_name x86_64-linux-gnu_gl_conf other_name i386-linux-gnu_gl_conf other_alt NvidiaDetector.alternatives.Alternatives object at 0x18b6390>
11:02:44 doko | oa_name type <type 'str'> value /usr/lib/fglrx/alt_ld.so.conf

So the current code already checks against None, and the passed value is a string. So the subprocess command passes a different parameter which is not a string than the alternative path.

Alberto, can you please have a look at this?