def perform_reset(request, obj):
 return execute_locked(request, obj, _('All repositories have been reset.'), obj.do_reset, request)

def perform_reset ( request , obj ) : return execute_locked ( request , obj , _ ( 'All repositories have been reset.' ) , obj . do_reset , request )
helper function to do the repository reset .