wsgidav/prop_man/property_manager.py
def _sync(self):
        """Write persistent dictionary to disc."""
        _logger.debug("_sync()")
        self._lock.acquire_write()  # TODO: read access is enough?
        try:
            if self._loaded:
                self._dict.sync()
        finally:
            self._lock.release()
def _sync(self):
        """Write persistent dictionary to disc."""
        _logger.debug("_sync()")
        self._lock.acquire_write()  # TODO: read access is enough?
        try:
            if self._loaded:
                self._dict.sync()
        finally:
            self._lock.release()
def _sync ( self ) : _logger . debug ( "_sync()" ) self . _lock . acquire_write ( ) # TODO: read access is enough? try : if self . _loaded : self . _dict . sync ( ) finally : self . _lock . release ( )
Write persistent dictionary to disc.
Write persistent dictionary to disc .