0001-really-log-invalid-status-detection-23894.patch
wcs/workflows.py | ||
---|---|---|
1693 | 1693 |
return [] |
1694 | 1694 | |
1695 | 1695 |
try: |
1696 |
return [x for x in self.parent.parent.possible_status if x.id == self.status]
|
|
1696 |
target = [x for x in self.parent.parent.possible_status if x.id == self.status][0]
|
|
1697 | 1697 |
except IndexError: |
1698 | 1698 |
get_publisher().get_app_logger().error( |
1699 | 1699 |
'reference to invalid status in workflow %s, status %s, item %s' % ( |
1700 | 1700 |
self.parent.parent.name, |
1701 | 1701 |
self.parent.name, |
1702 | 1702 |
self.description)) |
1703 |
return [] |
|
1703 |
return [] |
|
1704 |
return [target] |
|
1704 | 1705 | |
1705 | 1706 |
def get_jump_label(self): |
1706 | 1707 |
'''Return the label to use on a workflow graph arrow''' |
1707 |
- |