- users = [acl.user for acl in machine.acl]
- return "\n".join(map(self.userToPrinc, users) + [''])
+ users = (acl.user for acl in machine.acl)
+ users = [self.userToPrinc(u) for u in users]
+ users.append('daemon/%s@%s' % (config.web.hostname,
+ config.kerberos.realm))
+ users.append('')
+ return "\n".join(users)