0001-workflows-don-t-reference-undefined-variable-in-noti.patch
wcs/wf/notification.py | ||
---|---|---|
104 | 104 |
self.compute(self.title, render=False), |
105 | 105 |
autoescape=False) |
106 | 106 |
except TemplateError as e: |
107 |
get_logger().error('error in template for notification title [%s], '
|
|
108 |
'mail could not be generated: %s' % (notified_url, str(e)))
|
|
107 |
get_logger().error('error in template for notification title, ' |
|
108 |
'mail could not be generated: %s' % str(e))
|
|
109 | 109 |
return |
110 | 110 | |
111 | 111 |
try: |
... | ... | |
113 | 113 |
self.compute(self.body, render=False), |
114 | 114 |
autoescape=False) |
115 | 115 |
except TemplateError as e: |
116 |
get_logger().error('error in template for notification body [%s], '
|
|
117 |
'mail could not be generated: %s' % (notified_url, str(e)))
|
|
116 |
get_logger().error('error in template for notification body, ' |
|
117 |
'mail could not be generated: %s' % str(e))
|
|
118 | 118 |
return |
119 | 119 | |
120 | 120 |
self.post_data = { |
121 |
- |