Chromium Code Reviews| Index: pylib/gyp/common.py |
| =================================================================== |
| --- pylib/gyp/common.py (revision 1393) |
| +++ pylib/gyp/common.py (working copy) |
| @@ -392,7 +392,8 @@ |
| def uniquer(seq, idfun=None): |
| if idfun is None: |
| - def idfun(x): return x |
| + def ident_idfun(x): return x |
| + idfun = ident_idfun |
|
Nico
2012/05/25 19:34:49
idfun = lamba x: x
|
| seen = {} |
| result = [] |
| for item in seq: |