def acl_represent(acl, options):
 values = []
 for o in options.keys():
  if ((o == 0) and (acl == 0)):
   values.append(('%s' % options[o][0]))
  elif (acl and ((acl & o) == o)):
   values.append(('%s' % options[o][0]))
  else:
   values.append('_')
 return ' '.join(values)

def acl_represent ( acl , options ) : values = [ ] for o in options . keys ( ) : if ( ( o == 0 ) and ( acl == 0 ) ) : values . append ( ( '%s' % options [ o ] [ 0 ] ) ) elif ( acl and ( ( acl & o ) == o ) ) : values . append ( ( '%s' % options [ o ] [ 0 ] ) ) else : values . append ( '_' ) return ' ' . join ( values )
represent acls in tables for testing purposes .