[sysadmin-bin] This was missing for the py3 transition
- From: Andrea Veri <averi src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin] This was missing for the py3 transition
- Date: Thu, 12 Nov 2020 17:17:05 +0000 (UTC)
commit 107ca1f0e995bde52b9ba9cd3656dc2a7a8934f9
Author: Andrea Veri <averi redhat com>
Date: Thu Nov 12 18:16:35 2020 +0100
This was missing for the py3 transition
create-homedirs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/create-homedirs b/create-homedirs
index 9c9e9a4..797d1bd 100755
--- a/create-homedirs
+++ b/create-homedirs
@@ -18,7 +18,7 @@ def create_home_directory(uid):
shutil.copytree(src, dst, True)
subprocess.call(['/bin/chown', '-R', '%s:%s' % (uid, uid), dst])
- print "Created home directory for '%s'" % uid
+ print(f"Created home directory for { uid }")
return
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]