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 <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexandru DAMIAN
2015-02-03 18:25:14 +00:00
committed by Richard Purdie
parent ed5c448e2b
commit d72f1982ee

View File

@@ -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