xuekailun 4 місяців тому
батько
коміт
7d317be1c6
2 змінених файлів з 1 додано та 12 видалено
  1. 0 6
      gateway/utils.py
  2. 1 6
      longvideoapi/utils.py

+ 0 - 6
gateway/utils.py

@@ -283,10 +283,6 @@ def send_request(ecs_client, request):
     :param request: 请求配置
     :return: response
     """
-    print(2222222222)
-    print(ecs_client, request)
-    print(3333333333)
-
     request.set_accept_format('json')
     try:
         response = ecs_client.do_action_with_exception(request)
@@ -308,8 +304,6 @@ def run_command(ecs_client, instance_ids, command):
     :param command: 命令 type-string
     :return:
     """
-    print(11111)
-    print(ecs_client, instance_ids, command)
     for i in range(len(instance_ids) // 50 + 1):
         instance_id_list = instance_ids[i * 50:(i + 1) * 50]
         if len(instance_id_list) == 0:

+ 1 - 6
longvideoapi/utils.py

@@ -283,10 +283,6 @@ def send_request(ecs_client, request):
     :param request: 请求配置
     :return: response
     """
-    print(2222222222)
-    print(ecs_client, request)
-    print(3333333333)
-
     request.set_accept_format('json')
     try:
         response = ecs_client.do_action_with_exception(request)
@@ -308,8 +304,7 @@ def run_command(ecs_client, instance_ids, command):
     :param command: 命令 type-string
     :return:
     """
-    print(11111)
-    print(ecs_client, instance_ids, command)
+
     for i in range(len(instance_ids) // 50 + 1):
         instance_id_list = instance_ids[i * 50:(i + 1) * 50]
         if len(instance_id_list) == 0: