Roundup Tracker - Issues


Author ajaksu2
Recipients ajaksu2, briandorsey, clvigner, richard, rouilj
Date 2009-03-01.13:53:39
Message-id <>
Here's a modification that works with keywords and other Multilinks.

        def repr_link(cls,col):
            def f(x):
                print x, cls, col
                if x==None:
                    return ""
                elif isinstance(x, list): # <-
                    return str([cls.get(y,col) for y in x]) # <-
                    return str(cls.get(x,col))
            return f

        props = klass.getprops()

        for col in columns:
            represent[col] = str
            islink = isinstance(props[col], hyperdb.Link)
            ismultilink = isinstance(props[col], hyperdb.Multilink)
            if  islink or ismultilink:
                cn = props[col].classname
Date User Action Args
2009-03-01 13:53:39ajaksu2setmessageid: <>
2009-03-01 13:53:39ajaksu2setrecipients: + ajaksu2, richard, rouilj, briandorsey, clvigner
2009-03-01 13:53:39ajaksu2linkissue955070 messages
2009-03-01 13:53:39ajaksu2create