gen-make.py (362181) | gen-make.py (369302) |
---|---|
1#!/usr/bin/env python 2# 3# 4# Licensed to the Apache Software Foundation (ASF) under one 5# or more contributor license agreements. See the NOTICE file 6# distributed with this work for additional information 7# regarding copyright ownership. The ASF licenses this file 8# to you under the Apache License, Version 2.0 (the --- 56 unchanged lines hidden (view full) --- 65 66 generator.write() 67 generator.write_sqlite_headers() 68 generator.write_errno_table() 69 generator.write_config_keys() 70 71 if ('--debug', '') in other_options: 72 for dep_type, target_dict in generator.graph.deps.items(): | 1#!/usr/bin/env python 2# 3# 4# Licensed to the Apache Software Foundation (ASF) under one 5# or more contributor license agreements. See the NOTICE file 6# distributed with this work for additional information 7# regarding copyright ownership. The ASF licenses this file 8# to you under the Apache License, Version 2.0 (the --- 56 unchanged lines hidden (view full) --- 65 66 generator.write() 67 generator.write_sqlite_headers() 68 generator.write_errno_table() 69 generator.write_config_keys() 70 71 if ('--debug', '') in other_options: 72 for dep_type, target_dict in generator.graph.deps.items(): |
73 sorted_targets = list(target_dict.keys()); sorted_targets.sort() | 73 sorted_targets = sorted(target_dict.keys(), key=str) |
74 for target in sorted_targets: 75 print(dep_type + ": " + _objinfo(target)) 76 for source in target_dict[target]: 77 print(" " + _objinfo(source)) 78 print("=" * 72) 79 gen_keys = sorted(generator.__dict__.keys()) 80 for name in gen_keys: 81 value = generator.__dict__[name] --- 248 unchanged lines hidden --- | 74 for target in sorted_targets: 75 print(dep_type + ": " + _objinfo(target)) 76 for source in target_dict[target]: 77 print(" " + _objinfo(source)) 78 print("=" * 72) 79 gen_keys = sorted(generator.__dict__.keys()) 80 for name in gen_keys: 81 value = generator.__dict__[name] --- 248 unchanged lines hidden --- |