wsgidav/samples/hg_dav_provider.py
def get_content(self):
        """Open content as a stream for reading.

        See DAVResource.get_content()
        """
        assert not self.is_collection
        d = self.fctx.data()
        return compat.StringIO(d)
def get_content(self):
        """Open content as a stream for reading.

        See DAVResource.get_content()
        """
        assert not self.is_collection
        d = self.fctx.data()
        return compat.StringIO(d)
def get_content ( self ) : assert not self . is_collection d = self . fctx . data ( ) return compat . StringIO ( d )
Open content as a stream for reading.

        See DAVResource.get_content()
Open content as a stream for reading .