Revision 92389be9 autotools/build-rpc

b/autotools/build-rpc
195 195
    assert module.SINGLE == _SINGLE
196 196
    assert module.MULTI == _MULTI
197 197

  
198
    dups = utils.FindDuplicates(itertools.chain(*map(lambda value: value.keys(),
199
                                                     module.CALLS.values())))
198
    dups = utils.GetRepeatedKeys(*module.CALLS.values())
200 199
    if dups:
201 200
      raise Exception("Found duplicate RPC definitions for '%s'" %
202 201
                      utils.CommaJoin(sorted(dups)))

Also available in: Unified diff