'Find all enums for a single event'

def findenumsinevent(self, event):

    [name, desc, code, subcode, returns, accepts, arguments] = event
    for a in arguments:
        if is_enum(a[2]):
            ename = a[2][0]
            if (ename != '****'):
                self.enumsneeded[ename] = 1
