Error

Amie sthembilengidi at gmail.com
Tue Oct 21 09:05:28 EDT 2008


Hi,

what does is the meaning of this error: int object is unsubscriptable.
This is the code that I have written that seems to give me that:

def render_sideMenu(self, ctx, data):
    def render_dataAge(unit):
        results = [(i[0], i[1]
        ) for i in unit]
        return self.dataTable(["Unit Name", "Current Data Age"],
results, sortable=True),
    return
self.enamel.,storage.getDataAge(int(self.arguments[0])).addCallback(render_dataAge)



More information about the Python-list mailing list