File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 159159#
160160# on_rtd is whether we are on readthedocs.org
161161env_readthedocs = os .environ .get ('READTHEDOCS' , None )
162- print env_readthedocs
162+ print ( env_readthedocs )
163163
164164if not env_readthedocs : # only import and set the theme if we're building docs locally
165165 import sphinx_rtd_theme
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ def echo_client_thread():
2424 while len (data ) < 1024 and retries < 3 :
2525 data += sock .recv (1024 )
2626 retries += 1
27- print 'Received {} bytes' .format (len (data ))
27+ print ( 'Received {} bytes' .format (len (data ) ))
2828 if len (data ) != 1024 :
2929 raise RuntimeError ('client failed to receive response' )
3030 count += 1
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ def get_data():
5858 def flaskThread ():
5959 p = os .path .dirname (os .path .abspath (__file__ ))
6060 context = (p + '/server.crt' , p + '/server.key' )
61- print context
61+ print ( context )
6262 app .run (host = '0.0.0.0' , port = 8088 , ssl_context = context )
6363 th = Thread (target = flaskThread )
6464 th .start ()
You can’t perform that action at this time.
0 commit comments