def _build_option_string(options):
 if options:
  return 'with the following build options: {0}'.format(_get_option_list(options))
 else:
  return 'with the default build options'

def _build_option_string ( options ) : if options : return 'with the following build options: {0}' . format ( _get_option_list ( options ) ) else : return 'with the default build options'
common function to get a string to append to the end of the state comment .