1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

package_manager.py: fix arguments to string format

Multiple arguments to string formats need to be in a tuple.

Reported by Lorenz <lqb.list@gmail.com>.

(From OE-Core rev: e30a4650beabac215b6d867070b7acdb3601a4d7)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2014-12-03 17:29:49 +00:00
committed by Richard Purdie
parent 9fc63c57a8
commit 615fb3b2f2
+3 -3
View File
@@ -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: