Fixing spelling error on MIME Type Errors and PEP8
It currently returns an error with the text "Unknow mimetype." This changes that to be "Unknown mimetype". Also fixes PEP8 reported by the gate. Change-Id: I7ac44f9cba713ddb352aab2a5698598a4da4f612
This commit is contained in:
parent
8710dabb65
commit
80e0c2ad9a
@ -231,7 +231,7 @@ def args_from_body(funcdef, body, mimetype):
|
||||
elif mimetype in restxml.accept_content_types:
|
||||
dataformat = restxml
|
||||
else:
|
||||
raise ValueError("Unknow mimetype: %s" % mimetype)
|
||||
raise ValueError("Unknown mimetype: %s" % mimetype)
|
||||
|
||||
try:
|
||||
kw = dataformat.parse(
|
||||
|
Loading…
x
Reference in New Issue
Block a user