##// END OF EJS Templates
Fix for tornado check for tornado < 1.1.0...
Matthew Brett -
Show More
@@ -6,7 +6,10 try:
6 6 import tornado
7 7 except ImportError:
8 8 raise ImportError(msg)
9 else:
10 if tornado.version_info < (2,1,0):
9 try:
10 version_info = tornado.version_info
11 except AttributeError:
12 raise ImportError(msg + ", but you have < 1.1.0")
13 if version_info < (2,1,0):
11 14 raise ImportError(msg+", but you have %s"%tornado.version)
12 15 del msg
General Comments 0
You need to be logged in to leave comments. Login now