diff options
author | Ross Burton <ross.burton@intel.com> | 2014-12-03 17:29:49 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-05 18:01:06 +0000 |
commit | 615fb3b2f24cd47faa2d3e29bc1eb7a500c00371 (patch) | |
tree | 38ffcbae44b20695ef8493a1cd27da1b10ce2ced | |
parent | 9fc63c57a82661a65ace3ebccdb535fe33de70f5 (diff) | |
download | poky-615fb3b2f24cd47faa2d3e29bc1eb7a500c00371.tar.gz |
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>
-rw-r--r-- | meta/lib/oe/package_manager.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py index 3c1e74f43d..69100f16c1 100644 --- a/meta/lib/oe/package_manager.py +++ b/meta/lib/oe/package_manager.py | |||
@@ -1274,9 +1274,9 @@ class OpkgPM(PackageManager): | |||
1274 | 1274 | ||
1275 | with open(cfg_file_name, "w+") as cfg_file: | 1275 | with open(cfg_file_name, "w+") as cfg_file: |
1276 | cfg_file.write("src/gz local-%s %s/%s" % | 1276 | cfg_file.write("src/gz local-%s %s/%s" % |
1277 | arch, | 1277 | (arch, |
1278 | self.d.getVar('FEED_DEPLOYDIR_BASE_URI', True), | 1278 | self.d.getVar('FEED_DEPLOYDIR_BASE_URI', True), |
1279 | arch) | 1279 | arch)) |
1280 | 1280 | ||
1281 | def _create_config(self): | 1281 | def _create_config(self): |
1282 | with open(self.config_file, "w+") as config_file: | 1282 | with open(self.config_file, "w+") as config_file: |