Let an action mark itself as skipped

This commit is contained in:
jpic
2021-04-24 13:12:18 +02:00
parent 1ce27e1cd1
commit 073c3713c1
+3
View File
@@ -67,6 +67,9 @@ class Target:
import traceback
traceback.print_exception(type(e), e, sys.exc_info()[2])
return True
else:
if getattr(action, 'skipped', False):
self.output.skip(action)
else:
self.output.success(action)
result.status = 'success'