(self, decoded_cmd, file_svc)
| 332 | return executor_change |
| 333 | |
| 334 | def _replace_payload_data(self, decoded_cmd, file_svc): |
| 335 | for uuid in re.findall(self.RESERVED['payload'], decoded_cmd): |
| 336 | if self.is_uuid4(uuid): |
| 337 | _, display_name = file_svc.get_payload_name_from_uuid(uuid) |
| 338 | decoded_cmd = decoded_cmd.replace('#{payload:%s}' % uuid, display_name) |
| 339 | return decoded_cmd |
| 340 | |
| 341 | def _get_preferred_executor_name(self): |
| 342 | if 'psh' in self.executors: |
no test coverage detected