summaryrefslogtreecommitdiff
path: root/meta/classes/useradd.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-09 17:32:56 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-09 22:25:05 +0100
commit402d652edf79bcfe1eaf1a3b55ad1177d1e3ee85 (patch)
tree62a598aa73dc18b75b02dcf450b554c4d1ff3018 /meta/classes/useradd.bbclass
parent9eb94ba3d98bf6196eb779590f2fb842ec664177 (diff)
downloadopenembedded-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.bbclass2
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 () {