1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-03-20 06:50:23 +03:00

Removed "print"

This commit is contained in:
Adolfo Gómez García 2017-02-09 07:52:30 +01:00
parent ace11fd77a
commit 6d2dee2664

View File

@ -43,7 +43,7 @@ import hashlib
import six
__updated__ = '2016-03-08'
__updated__ = '2017-02-09'
logger = logging.getLogger(__name__)
@ -63,7 +63,6 @@ VERIFY_SSL = False
# Helpers
def ensureResponseIsValid(response, errMsg=None):
if response.ok is False:
print "False"
try:
_x, err = response.json().popitem() # Extract any key, in case of error is expected to have only one top key so this will work
errMsg = errMsg + ': {message}'.format(**err)