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-31 10:18:57 +0000 |
| commit | 64271845dca62806372a89c1eb8b1e12eadb034b (patch) | |
| tree | 2b083bf624a1b04c28185f91f41c6086c5df964e | |
| parent | 0d65f6c16dcd940e6349e758dcb30f550507b426 (diff) | |
| download | poky-64271845dca62806372a89c1eb8b1e12eadb034b.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)
(From OE-Core rev: 54bff44ffbec47de6c8f6b60ac9d683831413a41)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.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 11a1a72870..8609156ca2 100644 --- a/meta/lib/oe/package_manager.py +++ b/meta/lib/oe/package_manager.py | |||
| @@ -1273,9 +1273,9 @@ class OpkgPM(PackageManager): | |||
| 1273 | 1273 | ||
| 1274 | with open(cfg_file_name, "w+") as cfg_file: | 1274 | with open(cfg_file_name, "w+") as cfg_file: |
| 1275 | cfg_file.write("src/gz local-%s %s/%s" % | 1275 | cfg_file.write("src/gz local-%s %s/%s" % |
| 1276 | arch, | 1276 | (arch, |
| 1277 | self.d.getVar('FEED_DEPLOYDIR_BASE_URI', True), | 1277 | self.d.getVar('FEED_DEPLOYDIR_BASE_URI', True), |
| 1278 | arch) | 1278 | arch)) |
| 1279 | 1279 | ||
| 1280 | def _create_config(self): | 1280 | def _create_config(self): |
| 1281 | with open(self.config_file, "w+") as config_file: | 1281 | with open(self.config_file, "w+") as config_file: |
