Am 03.04.2012 20:37, schrieb jssebastian:
> 454c454,455
> <             del sys.modules[fqname]
> ---
>>             if fqname in sys.modules:
>>                 del sys.modules[fqname]

The Python idiom for this is using try/except: "don't ask for permission
but for forgiveness"

-- 
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


Attachment: smime.p7s
Description: S/MIME Kryptografische Unterschrift

Reply via email to