(target_id)
| 147 | # project-targets instance. |
| 148 | # |
| 149 | def find_target(target_id): |
| 150 | |
| 151 | projects = get_manager().projects() |
| 152 | m = _target_id_split.match(target_id) |
| 153 | if m: |
| 154 | pm = projects.find(m.group(1), ".") |
| 155 | else: |
| 156 | pm = projects.find(target_id, ".") |
| 157 | |
| 158 | if pm: |
| 159 | result = projects.target(pm) |
| 160 | |
| 161 | if m: |
| 162 | result = result.find(m.group(2)) |
| 163 | |
| 164 | return result |
| 165 | |
| 166 | def initialize_config_module(module_name, location=None): |
| 167 |
no test coverage detected