src/reversion/revisions.py
def add_to_context(self, manager, type, obj, version_data):
        """Adds an object to the current revision."""
        manager_context = self._current_frame.objects[manager]

        if obj in manager_context:
            prev_type = manager_context[obj][0]
            type = version_type_operator(prev_type, type)

        self._current_frame.objects[manager][obj] = (type, version_data)
Adds an object to the current revision.
Adds an object to the current revision.
Adds an object to the current revision .
def add_to_context(self, manager, type, obj, version_data):
        manager_context = self._current_frame.objects[manager]
        if obj in manager_context:
            prev_type = manager_context[obj][0]
            type = version_type_operator(prev_type, type)
        self._current_frame.objects[manager][obj] = (type, version_data)
def add_to_context ( self , manager , type , obj , version_data ) : manager_context = self . _current_frame . objects [ manager ] if obj in manager_context : prev_type = manager_context [ obj ] [ 0 ] type = version_type_operator ( prev_type , type ) self . _current_frame . objects [ manager ] [ obj ] = ( type , version_data )
Adds an object to the current revision.
Adds an object to the current revision .
"""Adds an object to the current revision."""
self
manager
type
obj
version_data