diff --git a/module_build_service/builder/MockModuleBuilder.py b/module_build_service/builder/MockModuleBuilder.py index 09913283..5fb4cabd 100644 --- a/module_build_service/builder/MockModuleBuilder.py +++ b/module_build_service/builder/MockModuleBuilder.py @@ -618,13 +618,6 @@ class MockModuleBuilder(GenericBuilder): if os.path.isfile(log_path) and os.path.getsize(log_path) == 0: os.remove(log_path) - # Remove other files containing useless information - elif logf.endswith("-srpm-stdout.log"): - with open(log_path) as f: - data = f.read(4096) - if re.match("Downloading [^\n]*\n\n\nWrote: [^\n]", data): - os.remove(log_path) - def build_srpm(self, artifact_name, source, build_id, builder): """ Builds the artifact from the SRPM.