aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2014-12-03 17:29:49 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-05 17:43:13 +0000
commite30a4650beabac215b6d867070b7acdb3601a4d7 (patch)
tree82efcdc5fe84c04b9b9c7c481ea365a9dda49afa
parent7f1bdc331304a61a4836a5752bca210450b6c5b5 (diff)
downloadopenembedded-core-contrib-e30a4650beabac215b6d867070b7acdb3601a4d7.tar.gz
openembedded-core-contrib-e30a4650beabac215b6d867070b7acdb3601a4d7.tar.bz2
openembedded-core-contrib-e30a4650beabac215b6d867070b7acdb3601a4d7.zip
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>. Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/lib/oe/package_manager.py6
1 files changed, 3 insertions, 3 deletions
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: