From bb853cec02650e6ec2158bcec9addf05f1697ed9 Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Fri, 21 Jul 2017 08:26:42 +0200 Subject: [PATCH] config: Write proper info message about root of URL-less repos Instead of flooding the log with misleading error messages, always print a note which path is used as root for repositories that have no URLs. Signed-off-by: Jan Kiszka --- kas/config.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kas/config.py b/kas/config.py index f5e96c6..8990682 100644 --- a/kas/config.py +++ b/kas/config.py @@ -399,9 +399,12 @@ class ConfigStatic(Config): '--show-toplevel'], cwd=path, env=self.environ, - fail=False) + fail=False, + liveupdate=False) if ret == 0: path = output.strip() + logging.info('Using %s as root for repository %s', path, + name) url = path rep = Repo(url=url,