summaryrefslogtreecommitdiffstats
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:28:03 +0100
commit4a9daa971c0c3c5457d67a3f4d7337f803935a7c (patch)
tree6be463b66d520e6bb9339e2c7f5c65ae0db3b873
parent29f6ca7dcd142528d25e5f7d994277792296abd0 (diff)
downloadpoky-4a9daa971c0c3c5457d67a3f4d7337f803935a7c.tar.gz
useradd: Use modern join syntax
string.join() is deprecated syntax and doesn't work under python3 so use the modern sytax instead. (From OE-Core rev: 402d652edf79bcfe1eaf1a3b55ad1177d1e3ee85) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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):
181 if param: 181 if param:
182 params.append(param) 182 params.append(param)
183 183
184 return string.join(params, "; ") 184 return "; ".join(params)
185 185
186# Adds the preinst script into generated packages 186# Adds the preinst script into generated packages
187fakeroot python populate_packages_prepend () { 187fakeroot python populate_packages_prepend () {