Revision cea881e5 lib/confd/client.py
b/lib/confd/client.py | ||
---|---|---|
61 | 61 |
from ganeti import errors |
62 | 62 |
from ganeti import confd |
63 | 63 |
from ganeti import ssconf |
64 |
from ganeti import compat |
|
64 | 65 |
|
65 | 66 |
|
66 | 67 |
class ConfdAsyncUDPClient(daemon.AsyncUDPSocket): |
... | ... | |
581 | 582 |
"""Have all the registered queries received at least an answer? |
582 | 583 |
|
583 | 584 |
""" |
584 |
return utils.all(self._answers.values())
|
|
585 |
return compat.all(self._answers.values())
|
|
585 | 586 |
|
586 | 587 |
def _HandleExpire(self, up): |
587 | 588 |
# if we have no answer we have received none, before the expiration. |
Also available in: Unified diff