Revision 1b429e2a lib/daemon.py

b/lib/daemon.py
166 166
    @return: True if some data has been handled, False otherwise
167 167

  
168 168
    """
169
    if utils.WaitForFdCondition(self, select.POLLIN, timeout) & select.POLLIN:
169
    result = utils.WaitForFdCondition(self, select.POLLIN, timeout)
170
    if result is not None and result & select.POLLIN:
170 171
      self.do_read()
171 172
      return True
172 173
    else:

Also available in: Unified diff