def perform_push(request, obj):
 return execute_locked(request, obj, _('All repositories were pushed.'), obj.do_push, request)

def perform_push ( request , obj ) : return execute_locked ( request , obj , _ ( 'All repositories were pushed.' ) , obj . do_push , request )
helper function to do the repository push .