0005-formdata-make-LinkedFormdataSubstitutionProxy-work-i.patch
wcs/formdata.py | ||
---|---|---|
819 | 819 |
lazy = self.get_substitution_variables() |
820 | 820 |
del lazy['form'] |
821 | 821 |
del lazy['attachments'] |
822 |
del lazy['linked'] |
|
822 | 823 |
d.update(lazy) |
823 | 824 | |
824 | 825 |
d = copy.deepcopy(d) |
... | ... | |
830 | 831 |
from .qommon.substitution import CompatibilityNamesDict |
831 | 832 |
from wcs.variables import LazyFormData |
832 | 833 |
from wcs.workflows import AttachmentsSubstitutionProxy |
834 |
from wcs.wf.create_formdata import LinkedFormdataSubstitutionProxy |
|
833 | 835 |
variables = CompatibilityNamesDict({ |
834 | 836 |
'form': LazyFormData(self), |
835 | 837 |
'attachments': AttachmentsSubstitutionProxy(self), |
838 |
'linked': LinkedFormdataSubstitutionProxy(self), |
|
836 | 839 |
}) |
837 | 840 |
if self.formdef.category: |
838 | 841 |
variables.update(self.formdef.category.get_substitution_variables(minimal=minimal)) |
839 |
- |