diff options
author | zeliard <spacesun@naver.com> | 2015-04-23 16:31:22 +0900 |
---|---|---|
committer | zeliard <spacesun@naver.com> | 2015-04-23 16:31:22 +0900 |
commit | 2cade59b9d6c0bd83aee8d94b45301bdea2481b9 (patch) | |
tree | e355c74a72bb949d994708577c37fe17d2d08efe /tools/buildgen/build-cleaner.py | |
parent | 201d30326331460ac5825bf926ffdc1080c86fab (diff) | |
parent | e7bd03cdec8f4b9e878e5206c98f5e6fb5bc43f5 (diff) |
Merge branch 'master' of https://github.com/grpc/grpc
Diffstat (limited to 'tools/buildgen/build-cleaner.py')
-rwxr-xr-x | tools/buildgen/build-cleaner.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/buildgen/build-cleaner.py b/tools/buildgen/build-cleaner.py index 6c5355bce3..fba103723c 100755 --- a/tools/buildgen/build-cleaner.py +++ b/tools/buildgen/build-cleaner.py @@ -52,11 +52,15 @@ _ELEM_KEYS = [ def rebuild_as_ordered_dict(indict, special_keys): outdict = collections.OrderedDict() + for key in sorted(indict.keys()): + if '#' in key: + outdict[key] = indict[key] for key in special_keys: if key in indict: outdict[key] = indict[key] for key in sorted(indict.keys()): if key in special_keys: continue + if '#' in key: continue outdict[key] = indict[key] return outdict |