Revision dcd511c8 lib/http/client.py

b/lib/http/client.py
37 37

  
38 38
from ganeti import workerpool
39 39
from ganeti import http
40
from ganeti import utils
40 41

  
41 42

  
42 43
HTTP_CLIENT_THREADS = 10
......
249 250

  
250 251
    if not connected:
251 252
      # Wait for connection
252
      event = http.WaitForSocketCondition(self.sock, select.POLLOUT,
253
                                          self.CONNECT_TIMEOUT)
253
      event = utils.WaitForSocketCondition(self.sock, select.POLLOUT,
254
                                           self.CONNECT_TIMEOUT)
254 255
      if event is None:
255 256
        raise http.HttpError("Timeout while connecting to server")
256 257

  

Also available in: Unified diff