making compatible with Py2
This commit is contained in:
Родитель
3b290b4d4b
Коммит
e5872e3d7e
|
@ -5,6 +5,8 @@
|
|||
# regenerated.
|
||||
# --------------------------------------------------------------------------
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
from msrest.service_client import ServiceClient
|
||||
from msrest import Configuration, Serializer, Deserializer
|
||||
from .version import VERSION
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
# regenerated.
|
||||
# --------------------------------------------------------------------------
|
||||
|
||||
from __future__ import print_function
|
||||
from msrest.service_client import ServiceClient
|
||||
from msrest import Serializer, Deserializer
|
||||
from msrest.pipeline import ClientRawResponse
|
||||
|
|
|
@ -107,7 +107,6 @@ class ContinuousDelivery(object):
|
|||
request, header_parameters, body_content, **operation_config)
|
||||
if response.status_code not in [200, 202]:
|
||||
print("POST", request.url, file=stderr)
|
||||
print("BODY", body_content)
|
||||
print("response:", response.status_code, file=stderr)
|
||||
print(response.text, file=stderr)
|
||||
raise HttpOperationError(self._deserialize, response)
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
# regenerated.
|
||||
# --------------------------------------------------------------------------
|
||||
|
||||
from __future__ import print_function
|
||||
from sys import stderr
|
||||
from msrest.service_client import ServiceClient
|
||||
from msrest import Configuration, Serializer, Deserializer
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
# Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
# --------------------------------------------------------------------------------------------
|
||||
|
||||
from __future__ import print_function
|
||||
import re
|
||||
import time
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче