[postprocessor:exec] improve (#421, #413)

- add 'final' option
- include job status in pp finalization
- improve and extend documentation
This commit is contained in:
Mike Fährmann
2019-11-03 21:45:45 +01:00
parent c18fadc221
commit 9e88e7a344
6 changed files with 56 additions and 16 deletions

View File

@@ -31,8 +31,8 @@ class PostProcessor():
"""Execute postprocessor after moving a file to its target location"""
@staticmethod
def finalize():
"""Cleanup"""
def run_final(pathfmt, status):
"""Postprocessor finalization after all files have been downloaded"""
def __repr__(self):
return self.__class__.__name__