Skip to content

Commit 479035f

Browse files
committed
catching for the NameError exception
1 parent 81bfd5f commit 479035f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SoftLayer/testing/xmlrpc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def do_POST(self):
6666
except UnicodeDecodeError:
6767
self.wfile.write(response_body)
6868

69-
except NotImplementedError as ex:
69+
except (NotImplementedError, NameError) as ex:
7070
self.send_response(200)
7171
self.end_headers()
7272
response = xmlrpc.client.Fault(404, str(ex))

0 commit comments

Comments
 (0)