def cleanup(): global retain ParSys.cleanup() if retain: msg_out( "Retaining temporary files in {0}".format(NDG.tempdir)) else: NDG.cleanup()
def cleanup(): try: os.remove( "config1.tmp" ) os.remove( "config2.tmp" ) ParSys.cleanup() except: pass
def cleanup(): try: os.remove( "config1.tmp" ) os.remove( "config2.tmp" ) ParSys.cleanup() except: pass
def cleanup(): global retain ParSys.cleanup() if retain: msg_out("Retaining temporary files in {0}".format(NDG.tempdir)) else: NDG.cleanup()