def perform_commit(request, obj):
 return execute_locked(request, obj, _('All pending translations were committed.'), obj.commit_pending, request)

def perform_commit ( request , obj ) : return execute_locked ( request , obj , _ ( 'All pending translations were committed.' ) , obj . commit_pending , request )
helper function to do the repository commmit .