(command, parent, setup_name)
| 1113 | # longer important. |
| 1114 | # |
| 1115 | def locate_default_setup(command, parent, setup_name): |
| 1116 | for setup in [os.path.join(dir,setup_name) for dir in [command,parent]]: |
| 1117 | if os.path.exists(setup): |
| 1118 | return setup |
| 1119 | return None |
| 1120 | |
| 1121 | |
| 1122 | # Validates given path, registers found configuration and prints debug |