1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00

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>
This commit is contained in:
Richard Purdie
2013-05-09 17:32:56 +01:00
parent 29f6ca7dcd
commit 4a9daa971c
+1 -1
View File
@@ -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 () {