def update_build_queue(apps, schema):
 Project = apps.get_model(u'projects', u'Project')
 for project in Project.objects.all():
  if (project.build_queue is not None):
   if (not project.build_queue.startswith(u'build-')):
    project.build_queue = u'build-{0}'.format(project.build_queue)
    project.save()

def update_build_queue ( apps , schema ) : Project = apps . get_model ( u'projects' , u'Project' ) for project in Project . objects . all ( ) : if ( project . build_queue is not None ) : if ( not project . build_queue . startswith ( u'build-' ) ) : project . build_queue = u'build-{0}' . format ( project . build_queue ) project . save ( )
update project build queue to include the previously implied build- prefix .