src/eric7/EricNetwork/EricJsonClient.py

branch
eric7
changeset 10526
2549534fcb55
parent 10524
ed4fd87c4d4c
child 10689
3ede487187f2
equal deleted inserted replaced
10525:e2b37b8ae403 10526:2549534fcb55
148 selectErrors = 0 148 selectErrors = 0
149 while selectErrors <= 10: # selected arbitrarily 149 while selectErrors <= 10: # selected arbitrarily
150 try: 150 try:
151 rrdy, wrdy, xrdy = select.select([self.__connection], [], []) 151 rrdy, wrdy, xrdy = select.select([self.__connection], [], [])
152 152
153 # Just waiting for self.__connection. Therefor no check 153 # Just waiting for self.__connection. Therefore no check
154 # needed. 154 # needed.
155 method, params = self.__receiveJson() 155 method, params = self.__receiveJson()
156 if method is None: 156 if method is None:
157 selectErrors += 1 157 selectErrors += 1
158 elif method == "Exit": 158 elif method == "Exit":

eric ide

mercurial