Revision 26d502d0 autotools/build-rpc

b/autotools/build-rpc
117 117
    sw.Write("_CALLS = rpc_defs.CALLS[%r]", clsname)
118 118
    sw.Write("")
119 119

  
120
    for (name, kind, timeout, args, postproc, desc) in calls:
120
    for (name, kind, timeout, args, _, desc) in calls:
121 121
      funcargs = ["self"]
122 122

  
123 123
      if kind == _SINGLE:
......
148 148
        # In case line gets too long and is wrapped in a bad spot
149 149
        buf.write("( ")
150 150

  
151
        if postproc:
152
          buf.write("%s(" % postproc)
153 151
        buf.write("self._Call(_def, ")
154 152
        if kind == _SINGLE:
155 153
          buf.write("[node]")
......
162 160

  
163 161
        if kind == _SINGLE:
164 162
          buf.write("[node]")
165
        if postproc:
166
          buf.write(")")
167 163
        buf.write(")")
168 164

  
169 165
        for line in _WrapCode(buf.getvalue()):

Also available in: Unified diff