diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-09 17:32:56 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-09 22:25:05 +0100 |
commit | 402d652edf79bcfe1eaf1a3b55ad1177d1e3ee85 (patch) | |
tree | 62a598aa73dc18b75b02dcf450b554c4d1ff3018 /meta/classes/useradd.bbclass | |
parent | 9eb94ba3d98bf6196eb779590f2fb842ec664177 (diff) | |
download | openembedded-core-402d652edf79bcfe1eaf1a3b55ad1177d1e3ee85.tar.gz openembedded-core-402d652edf79bcfe1eaf1a3b55ad1177d1e3ee85.tar.bz2 openembedded-core-402d652edf79bcfe1eaf1a3b55ad1177d1e3ee85.zip |
useradd: Use modern join syntax
string.join() is deprecated syntax and doesn't work under python3
so use the modern sytax instead.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/useradd.bbclass')
-rw-r--r-- | meta/classes/useradd.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass index 52c0ba4ec1..fd610197c8 100644 --- a/meta/classes/useradd.bbclass +++ b/meta/classes/useradd.bbclass @@ -181,7 +181,7 @@ def get_all_cmd_params(d, cmd_type): if param: params.append(param) - return string.join(params, "; ") + return "; ".join(params) # Adds the preinst script into generated packages fakeroot python populate_packages_prepend () { |