From 781036e7da46dab79f301e350e225a1073db55f6 Mon Sep 17 00:00:00 2001 From: Ondřej Nosek Date: Oct 21 2020 01:45:32 +0000 Subject: Do not show warning when 'package.cfg' is missing EPEL sig decided that playground branch won't be required for epel8. In 'package.cfg' there was a list of target branches. Now it is not necessary to have this configuration file in the repository. Warning about missing this configuration is removed. Config file (if present) still works as previously. JIRA: RHELCMP-2667 Fixes: #417 Signed-off-by: Ondřej Nosek --- diff --git a/fedpkg/cli.py b/fedpkg/cli.py index 14678c8..18a683f 100644 --- a/fedpkg/cli.py +++ b/fedpkg/cli.py @@ -1202,10 +1202,6 @@ class fedpkgClient(cliClient): """Read configured releases from build config from repo""" config_file = os.path.join(self.cmd.path, LOCAL_PACKAGE_CONFIG) if not os.path.exists(config_file): - self.log.warning('No local config file exists.') - self.log.warning( - 'Create %s to specify build targets to build.', - LOCAL_PACKAGE_CONFIG) return None config = configparser.ConfigParser() if not config.read([config_file]):