diff options
author | Björn Jacke <bj@sernet.de> | 2019-08-25 23:07:48 +0200 |
---|---|---|
committer | Bjoern Jacke <bjacke@samba.org> | 2019-09-24 12:22:44 +0000 |
commit | 32d1c3f873fc8bd89a7dc985cb8258e990dc12cd (patch) | |
tree | 497f54a7801fae6c46537fdee58d75074be388c9 /python | |
parent | dd9e0f0ae1cca23920883a0e04fe5862663e400e (diff) | |
download | samba-32d1c3f873fc8bd89a7dc985cb8258e990dc12cd.tar.gz |
posixacl.py: avoid inefficient string concatenations
Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Matthias Dieter Wallnöfer <mdw@samba.org>
Diffstat (limited to 'python')
-rw-r--r-- | python/samba/tests/posixacl.py | 4 |
1 files changed, 2 insertions, 2 deletions
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: |