src/eric7/EricNetwork/EricJsonServer.py

branch
eric7
changeset 11148
15e30f0c76a8
parent 11090
f5f5f5803935
equal deleted inserted replaced
11147:dee6e106b4d3 11148:15e30f0c76a8
76 hostAddressStr = ( 76 hostAddressStr = (
77 "[{0}]".format(self.__hostAddress) 77 "[{0}]".format(self.__hostAddress)
78 if ":" in self.__hostAddress 78 if ":" in self.__hostAddress
79 else self.__hostAddress 79 else self.__hostAddress
80 ) 80 )
81 print( # __IGNORE_WARNING_M801__ 81 print( # __IGNORE_WARNING_M-801__
82 "JSON server ({2}) listening on: {0}:{1:d}".format( 82 "JSON server ({2}) listening on: {0}:{1:d}".format(
83 hostAddressStr, self.serverPort(), self.__name 83 hostAddressStr, self.serverPort(), self.__name
84 ) 84 )
85 ) 85 )
86 86

eric ide

mercurial