'Flag part of store-att-flag'

def arg_flaglist(self, line):

    flags = []
    if (line[0:1] == '('):
        if (line[(-1):] != ')'):
            raise IllegalClientResponse('Mismatched    parenthesis')
        line = line[1:(-1)]
    while line:
        m = self.atomre.search(line)
        if (not m):
            raise IllegalClientResponse('Malformed    flag')
        if ((line[0:1] == '\\') and (m.start() == 1)):
            flags.append(('\\' + m.group('atom')))
        elif (m.start() == 0):
            flags.append(m.group('atom'))
        else:
            raise IllegalClientResponse('Malformed    flag')
        line = m.group('rest')
    return (flags, '')
