##// END OF EJS Templates
Backport PR #6003: Set kernel_id before checking websocket...
Backport PR #6003: Set kernel_id before checking websocket If websocket attempt fails and cross origin attempt is detected, a HTTPError(404) error is raised. However, in the process of closing connections because of this 404 error, an unhandled Attribute exception (kernel_id not an attribute) is raised. Setting the kernel_id first avoids this.

File last commit:

r13348:e6afea51
r17051:369abeca
Show More
print_argv.py
3 lines | 69 B | text/x-python | PythonLexer
from __future__ import print_function
import sys
print(sys.argv[1:])