(self)
Generate a temporary filename
Generate a temporary filename
Generate a temporary filename
def mktmp(self):
        """Generate a temporary filename"""
        while True:
            tmp_file = self._tmpdir + '/' + \
                Unique().filename(self.basename)
            if not os.path.exists(tmp_file):
                FileUtil.tmptrash[tmp_file] = True
                self.filename = tmp_file
                return tmp_file
def mktmp ( self ) : while True : tmp_file = self . _tmpdir + '/' + Unique ( ) . filename ( self . basename ) if not os . path . exists ( tmp_file ) : FileUtil . tmptrash [ tmp_file ] = True self . filename = tmp_file return tmp_file