From 38d23dfc09967a502cdab2c97555a3725ffba890 Mon Sep 17 00:00:00 2001 From: Lubomír Sedlář Date: Jul 20 2018 07:45:02 +0000 Subject: Accept old config with module instead of repo If the old placeholder is used, config parser will complain about bad value substitution. Signed-off-by: Lubomír Sedlář --- diff --git a/fedpkg/cli.py b/fedpkg/cli.py index 13d64b9..b31c9f2 100644 --- a/fedpkg/cli.py +++ b/fedpkg/cli.py @@ -172,7 +172,9 @@ Request a module with namespace explicitly: help_msg = 'Request a new tests dist-git repository' pagure_url = urlparse(self.config.get( '{0}.pagure'.format(self.name), 'url')).netloc - anongiturl = self.config.get(self.name, 'anongiturl', vars={'repo': 'any'}) + anongiturl = self.config.get( + self.name, 'anongiturl', vars={'repo': 'any', 'module': 'any'} + ) description = '''Request a new dist-git repository in tests shared namespace {2}/projects/tests/*