From: Björn Jacke Date: Sun, 25 Aug 2019 21:07:48 +0000 (+0200) Subject: posixacl.py: avoid inefficient string concatenations X-Git-Tag: talloc-2.3.1~717 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=32d1c3f873fc8bd89a7dc985cb8258e990dc12cd;p=thirdparty%2Fsamba.git posixacl.py: avoid inefficient string concatenations Signed-off-by: Bjoern Jacke Reviewed-by: Matthias Dieter Wallnöfer --- diff --git a/python/samba/tests/posixacl.py b/python/samba/tests/posixacl.py index 7e1fb3ec55e..0ba3dc50089 100644 --- a/python/samba/tests/posixacl.py +++ b/python/samba/tests/posixacl.py @@ -61,8 +61,8 @@ class PosixAclMappingTests(SmbdBaseTests): def print_posix_acl(self, posix_acl): aclstr = "" for entry in posix_acl.acl: - aclstr += "a_type: %d\n" % entry.a_type - aclstr += "a_perm: %o\n" % entry.a_perm + aclstr += "a_type: %d\n" % entry.a_type +\ + "a_perm: %o\n" % entry.a_perm if entry.a_type == smb_acl.SMB_ACL_USER: aclstr += "uid: %d\n" % entry.info.uid if entry.a_type == smb_acl.SMB_ACL_GROUP: