@task
def flag_database(new_index, old_index, alias, stdout=sys.stdout):
 log('Flagging the database to start the reindexation', stdout=stdout)
 flag_reindexing_amo(new_index=new_index, old_index=old_index, alias=alias)

@ task def flag_database ( new_index , old_index , alias , stdout = sys . stdout ) : log ( 'Flagging the database to start the reindexation' , stdout = stdout ) flag_reindexing_amo ( new_index = new_index , old_index = old_index , alias = alias )
flags the database to indicate that the reindexing has started .