(command, parent, setup_name)
| 1080 | # longer important. |
| 1081 | # |
| 1082 | def locate_default_setup(command, parent, setup_name): |
| 1083 | for setup in [os.path.join(dir,setup_name) for dir in [command,parent]]: |
| 1084 | if os.path.exists(setup): |
| 1085 | return setup |
| 1086 | return None |
| 1087 | |
| 1088 | |
| 1089 | # Validates given path, registers found configuration and prints debug |