]>
Commit | Line | Data |
---|---|---|
074b4414 MM |
1 | # vi: encoding=utf-8 ts=8 sts=4 sw=4 et |
2 | ||
3 | from config import config, init_conf | |
4 | ||
5 | def handle_src(): | |
6 | print config.arch | |
7 | ||
8 | def handle_bin(): | |
9 | print config.arch | |
10 | ||
11 | if __name__ == '__main__': | |
12 | init_conf() | |
13 | bb=config.binary_builders[:] | |
14 | if config.src_builder: | |
15 | try: | |
16 | init_conf(config.src_builder) | |
17 | except: | |
18 | pass | |
19 | else: | |
20 | handle_src() | |
21 | for b in bb: | |
22 | try: | |
23 | init_conf(b) | |
24 | except: | |
25 | continue | |
26 | else: | |
27 | handle_bin() | |
28 |