Remove white space between print ()

There was a white space between print and ()

Change-Id: I6793e52c441728e991fe61afb73227e16368d758
This commit is contained in:
Sanu Madhavan 2017-01-20 15:36:35 +05:30
parent 7e96104e7b
commit 9f84e4c7c5
2 changed files with 6 additions and 6 deletions

View File

@ -57,7 +57,7 @@ def dumpxml(key, obj, datatype=None):
def loadxml(el, datatype):
print (el, datatype, len(el))
print(el, datatype, len(el))
if el.get('nil') == 'true':
return None
if isinstance(datatype, list):
@ -90,10 +90,10 @@ def loadxml(el, datatype):
for attr in datatype._wsme_attributes:
name = attr.name
child = el.find(name)
print (name, attr, child)
print(name, attr, child)
if child is not None:
d[name] = loadxml(child, attr.datatype)
print (d)
print(d)
return d
else:
if datatype == wsme.types.binary:
@ -137,7 +137,7 @@ class TestRestXML(wsme.tests.protocol.RestOnlyProtocolTestCase):
content,
headers=headers,
expect_errors=True)
print ("Received:", res.body)
print("Received:", res.body)
if _no_result_decode:
return res
@ -167,7 +167,7 @@ class TestRestXML(wsme.tests.protocol.RestOnlyProtocolTestCase):
language, sample = wsme.rest.xml.encode_sample_value(
MyType, value, True)
print (language, sample)
print(language, sample)
assert language == 'xml'
assert sample == b("""<value>

View File

@ -224,7 +224,7 @@ class TestExtDirectProtocol(wsme.tests.protocol.ProtocolTestCase):
body,
headers={'Content-Type': 'application/x-www-form-urlencoded'}
)
print (r)
print(r)
assert json.loads(r.text) == {
"tid": "1",