0004-misc-remove-external-workflow-site-option-57260.patch
wcs/qommon/publisher.py | ||
---|---|---|
390 | 390 | |
391 | 391 |
def has_site_option(self, option): |
392 | 392 |
defaults = { |
393 |
'external-workflow': True, |
|
394 | 393 |
'complex-data': True, |
395 | 394 |
} |
396 | 395 |
if self.site_options is None: |
wcs/wf/external_workflow.py | ||
---|---|---|
42 | 42 |
target_id = None |
43 | 43 |
trigger_id = None |
44 | 44 | |
45 |
@classmethod |
|
46 |
def is_available(cls, workflow=None): |
|
47 |
return get_publisher().has_site_option('external-workflow') |
|
48 | ||
49 | 45 |
def get_workflow_webservice_triggers(self, workflow): |
50 | 46 |
for action in workflow.global_actions or []: |
51 | 47 |
for trigger in action.triggers or []: |
52 |
- |