]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
toastergui: fix loadconf error message
authorAlexandru DAMIAN <alexandru.damian@intel.com>
Tue, 3 Feb 2015 18:25:14 +0000 (18:25 +0000)
committerAlexandru DAMIAN <alexandru.damian@intel.com>
Mon, 9 Feb 2015 17:54:34 +0000 (17:54 +0000)
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 <alexandru.damian@intel.com>
lib/toaster/bldcontrol/management/commands/loadconf.py

index e2f61e4cb4714f6e9796b7fff86e035f748175ca..9163e9bf11d25a4360eddc5a2865af852dcc703b 100644 (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