def _delete_layout ( self, name ):
        id = self.id
        if id != '':
            db = self._get_dw_db( mode = 'c' )
            if db is not None:
                layouts = db.get( id )
                if layouts is not None:
                    del layouts[ name ]
                    db[ id ] = layouts
                db.close()

    #---------------------------------------------------------------------------
    #  Sets the layout data for a specified layout name:
    #---------------------------------------------------------------------------
L{MemCacheProtocol.replace} returns a L{Deferred} which is called back
dataset/ETHPy150Open enthought/pyface/pyface/dock/dock_window.py/DockWindow._delete_layout--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_memcache.py/CommandMixin.test_replace