From: Ross Burton Date: Wed, 3 Dec 2014 17:29:49 +0000 (+0000) Subject: package_manager.py: fix arguments to string format X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~31914 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e30a4650beabac215b6d867070b7acdb3601a4d7;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git package_manager.py: fix arguments to string format Multiple arguments to string formats need to be in a tuple. Reported by Lorenz . Signed-off-by: Ross Burton --- diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py index 3c1e74f43d3..69100f16c1a 100644 --- a/meta/lib/oe/package_manager.py +++ b/meta/lib/oe/package_manager.py @@ -1274,9 +1274,9 @@ class OpkgPM(PackageManager): with open(cfg_file_name, "w+") as cfg_file: cfg_file.write("src/gz local-%s %s/%s" % - arch, - self.d.getVar('FEED_DEPLOYDIR_BASE_URI', True), - arch) + (arch, + self.d.getVar('FEED_DEPLOYDIR_BASE_URI', True), + arch)) def _create_config(self): with open(self.config_file, "w+") as config_file: