mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-06-14 22:17:34 +08:00
GenericBuilder: Add a boolean 'succeeded' parameter to finalize
Previously MockModuleBuilder was checking the module state to see if
it should run a final createrepo, but since eafa93037f, finalize() is
called before changing the module state; add an explicit boolean to
GenericBuilder.finalize() to avoid worrying about ordering.
This commit is contained in:
@@ -866,7 +866,7 @@ class DummyModuleBuilder(GenericBuilder):
|
||||
def repo_from_tag(self, config, tag_name, arch):
|
||||
pass
|
||||
|
||||
def finalize(self):
|
||||
def finalize(self, succeeded=True):
|
||||
pass
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user