cubicweb/misc/scripts/migration_helper.py
changeset 12567 26744ad37953
parent 11767 432f87a63057
equal deleted inserted replaced
12566:6b3523f81f42 12567:26744ad37953
    17 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
    17 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
    18 
    18 
    19 """Helper functions for migrations that aren't reliable enough or too dangerous
    19 """Helper functions for migrations that aren't reliable enough or too dangerous
    20 to be available in the standard migration environment
    20 to be available in the standard migration environment
    21 """
    21 """
    22 from __future__ import print_function
       
    23 
       
    24 
       
    25 
    22 
    26 def drop_entity_types_fast(*etypes, **kwargs):
    23 def drop_entity_types_fast(*etypes, **kwargs):
    27     """drop an entity type bypassing all hooks
    24     """drop an entity type bypassing all hooks
    28 
    25 
    29     here be dragons.
    26     here be dragons.