Revision db169865 lib/confd/client.py
b/lib/confd/client.py | ||
---|---|---|
133 | 133 |
# pylint: disable-msg=W0201 |
134 | 134 |
if not isinstance(peers, list): |
135 | 135 |
raise errors.ProgrammerError("peers must be a list") |
136 |
self._peers = peers |
|
136 |
# make a copy of peers, since we're going to shuffle the list, later |
|
137 |
self._peers = list(peers) |
|
137 | 138 |
|
138 | 139 |
def _PackRequest(self, request, now=None): |
139 | 140 |
"""Prepare a request to be sent on the wire. |
Also available in: Unified diff