From d72f1982ee282a481054326571dd63cceb22415b Mon Sep 17 00:00:00 2001 From: Alexandru DAMIAN Date: Tue, 3 Feb 2015 18:25:14 +0000 Subject: bitbake: 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] (Bitbake rev: 2a18952a525d15814389584817674f6c3aee12d6) Signed-off-by: Alexandru DAMIAN Signed-off-by: Richard Purdie --- bitbake/lib/toaster/bldcontrol/management/commands/loadconf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib/toaster/bldcontrol/management/commands/loadconf.py') diff --git a/bitbake/lib/toaster/bldcontrol/management/commands/loadconf.py b/bitbake/lib/toaster/bldcontrol/management/commands/loadconf.py index e2f61e4cb4..9163e9bf11 100644 --- a/bitbake/lib/toaster/bldcontrol/management/commands/loadconf.py +++ b/bitbake/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 -- cgit v1.2.3-54-g00ecf