flake8: apply E1 rules

This commit is contained in:
Yuming Zhu 2020-02-26 02:08:41 +08:00
parent 450f9249cd
commit ce1f9928af
30 changed files with 958 additions and 958 deletions

View file

@ -100,7 +100,7 @@ def dumps(params, methodname=None, methodresponse=None, encoding=None,
"<methodName>", methodname, "</methodName>\n",
data,
"</methodCall>\n"
)
)
elif methodresponse:
# a method response, or a fault structure
parts = (
@ -108,7 +108,7 @@ def dumps(params, methodname=None, methodresponse=None, encoding=None,
"<methodResponse>\n",
data,
"</methodResponse>\n"
)
)
else:
return data # return as is
return ''.join(parts)