#NEWLINE# def _translate_group_name( context , os_group , db_groups ) : #NEWLINE# #INDENT# if ( os_group [ 'name' ] . startswith ( 'vpc-' ) and db_groups ) : #NEWLINE# #INDENT# db_group = next ( ( g for g in os_group if ( g [ 'os_id' ] == os_group [ 'id' ] ) ) , None ) #NEWLINE# if ( db_group and db_group . get ( 'vpc_id' ) ) : #NEWLINE# #INDENT# return DEFAULT_GROUP_NAME #NEWLINE# #UNINDENT# #UNINDENT# return os_group [ 'name' ]