Am 30.11.2011 12:01, schrieb Martin Gamwell Dawids:
os.environ[name]=""
del os.environ[name]

should do the job. However, on platforms with "unsetenv" there will be
an extra unnecessary call to "putenv" from the first line.

Yes. We could either check for `unsetenv` (as your code did) or just accept the small performance impact. I just checked in the later for now.

--
Schönen Gruß - Regards
Hartmut Goebel
Dipl.-Informatiker (univ.), CISSP, CSSLP

Goebel Consult
Spezialist für IT-Sicherheit in komplexen Umgebungen
http://www.goebel-consult.de

Monatliche Kolumne: http://www.cissp-gefluester.de/
Goebel Consult ist Mitglied bei http://www.7-it.de

--
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyinstaller?hl=en.

Reply via email to