> > files = [model.Files.get(id) for id in files] # where files is done as above >
It's actually """files = [model.Files.get(id[0]) for id in files]""" because id is a tuple... but the gold was in the idea! :) ~Sean --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

