@@ -11,13 +11,13 @@ def application(env, start_response):
1111
1212 # has timed out ?
1313 if env ['x-wsgiorg.fdevent.timeout' ]:
14- print "connection timed out !!!"
14+ print ( "connection timed out !!!" )
1515 uwsgi .close (fd )
1616 raise StopIteration
1717
1818 # connection refused ?
1919 if not uwsgi .is_connected (fd ):
20- print "unable to connect"
20+ print ( "unable to connect" )
2121 uwsgi .close (fd )
2222 raise StopIteration
2323
@@ -42,7 +42,7 @@ def application(env, start_response):
4242 bufsize = min (cl , 4096 )
4343 yield uwsgi .wait_fd_read (input , 30 )
4444 if env ['x-wsgiorg.fdevent.timeout' ]:
45- print "connection timed out !!!"
45+ print ( "connection timed out !!!" )
4646 uwsgi .close (fd )
4747 raise StopIteration
4848 body = uwsgi .recv (input , bufsize )
@@ -57,7 +57,7 @@ def application(env, start_response):
5757
5858 # has timed out ?
5959 if env ['x-wsgiorg.fdevent.timeout' ]:
60- print "connection timed out !!!"
60+ print ( "connection timed out !!!" )
6161 uwsgi .close (fd )
6262 raise StopIteration
6363
@@ -68,7 +68,7 @@ def application(env, start_response):
6868 # wait for response
6969 yield uwsgi .wait_fd_read (fd , 30 )
7070 if env ['x-wsgiorg.fdevent.timeout' ]:
71- print "connection timed out !!!"
71+ print ( "connection timed out !!!" )
7272 uwsgi .close (fd )
7373 raise StopIteration
7474 data = uwsgi .recv (fd )
0 commit comments