Since it serves as an alternative to the Transport class, it should
support the same constructor options, even if it doesn't use them.

Signed-off-by: Petr Pudlak <[email protected]>
---
 lib/rpc/transport.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/lib/rpc/transport.py b/lib/rpc/transport.py
index e822bb3..0350fa2 100644
--- a/lib/rpc/transport.py
+++ b/lib/rpc/transport.py
@@ -250,7 +250,8 @@ class FdTransport:
   Unlike L{Transport}, this doesn't use timeouts.
   """
 
-  def __init__(self, fds, timeouts=None): # pylint: disable=W0613
+  def __init__(self, fds,
+               timeouts=None, allow_non_master=None): # pylint: disable=W0613
     """Constructor for the Client class.
 
     @type fds: pair of file descriptors
@@ -258,6 +259,8 @@ class FdTransport:
         and the file descriptor for writing (the second)
     @type timeouts: int
     @param timeouts: unused
+    @type allow_non_master: bool
+    @param allow_non_master: unused
 
     """
     self._rstream = io.open(fds[0], 'rb', 0)
-- 
2.4.3.573.g4eafbef

Reply via email to