Skip to content

Commit

Permalink
YDA-5470 - Fixed lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
kaur16 committed Oct 9, 2023
1 parent d16767c commit e8afdf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -1153,8 +1153,8 @@ def api_group_delete(ctx, group_name):
return api.Error('policy_error', message)

if sram_group:
if not sram.sram_delete_collaboration(ctx, co_identifier):
return api.Error('sram_error', 'Something went wrong deleting group "{}" in SRAM'.format(group_name))
if not sram.sram_delete_collaboration(ctx, co_identifier):
return api.Error('sram_error', 'Something went wrong deleting group "{}" in SRAM'.format(group_name))
except Exception:
return api.Error('error_internal', 'Something went wrong deleting group "{}". Please contact a system administrator'.format(group_name))

Expand Down

0 comments on commit e8afdf2

Please sign in to comment.