Revision f7d9b3aa autotools/build-rpc

b/autotools/build-rpc
129 129

  
130 130
      funcargs.extend(map(compat.fst, args))
131 131

  
132
      assert "read_timeout" not in funcargs
133
      funcargs.append("read_timeout=%s" % timeout)
134

  
135 132
      funcargs.append("_def=_CALLS[%r]" % name)
136 133

  
137 134
      funcdef = "def call_%s(%s):" % (name, utils.CommaJoin(funcargs))
......
154 151
        else:
155 152
          buf.write("node_list")
156 153

  
157
        buf.write(", read_timeout, [%s])" %
154
        buf.write(", [%s])" %
158 155
                  # Function arguments
159 156
                  utils.CommaJoin(map(compat.fst, args)))
160 157

  

Also available in: Unified diff