From 2a18952a525d15814389584817674f6c3aee12d6 Mon Sep 17 00:00:00 2001 From: Alexandru DAMIAN Date: Tue, 3 Feb 2015 18:25:14 +0000 Subject: [PATCH] toastergui: fix loadconf error message Toaster crashes in loadconf if it needs to raise an Exception due to poorly formatted error message. This patch fixes the formatting [YOCTO #7276] Signed-off-by: Alexandru DAMIAN --- lib/toaster/bldcontrol/management/commands/loadconf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/toaster/bldcontrol/management/commands/loadconf.py b/lib/toaster/bldcontrol/management/commands/loadconf.py index e2f61e4cb47..9163e9bf11d 100644 --- a/lib/toaster/bldcontrol/management/commands/loadconf.py +++ b/lib/toaster/bldcontrol/management/commands/loadconf.py @@ -59,7 +59,7 @@ class Command(BaseCommand): except ValueError: pass if url == None: - raise Exception("Error while looking for remote \"%s\" in \"s\"" % (remote_name, lo.local_path)) + raise Exception("Error while looking for remote \"%s\" in \"%s\"" % (remote_name, out)) return url -- 2.47.3