#NEWLINE# def handle( self , * args , **options ) : #NEWLINE# #INDENT# kwargs = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# if ( 'settings' in options ) : #NEWLINE# #INDENT# kwargs [ 'settings' ] = options [ 'settings' ] #NEWLINE# #UNINDENT# apps = settings . BE_CORE_APPS #NEWLINE# CIRCLE_NODE_INDEX = int ( os . environ [ 'CIRCLE_NODE_INDEX' ] ) #NEWLINE# CIRCLE_NODE_TOTAL = int ( os . environ [ 'CIRCLE_NODE_TOTAL' ] ) #NEWLINE# my_apps = [ ] #NEWLINE# counter = 0 #NEWLINE# for a in apps : #NEWLINE# #INDENT# if ( ( counter % CIRCLE_NODE_TOTAL ) == CIRCLE_NODE_INDEX ) : #NEWLINE# #INDENT# my_apps . append ( a ) #NEWLINE# #UNINDENT# counter += 1 #NEWLINE# #UNINDENT# call_command ( 'test' , * my_apps , ** kwargs )