Logo Search packages:      
Sourcecode: zope-extfile version File versions

def zope-extfile-1.4.2::ExtFile::ExtFile::_abort (   self  )  [private]

Deletes the temporary file 

Definition at line 961 of file ExtFile.py.

00961                     :
        """ Deletes the temporary file """
        self._v_abort_called = 1    # for tests
        if self.filename:
            tmp_fn = self._temp_fsname(self.filename)
            if _debug: LOG(_SUBSYS, INFO, 'aborting %s' % tmp_fn) 
            if isfile(tmp_fn):
                if _debug: LOG(_SUBSYS, INFO, 'isfile %s' % tmp_fn) 
                try: os.remove(tmp_fn)
                except OSError: pass


InitializeClass(ExtFile)



from cgi import FieldStorage


Generated by  Doxygen 1.6.0   Back to index