A Friday 12 June 2009 12:15:36 Armando Serrano Lombillo escrigué: > I just found a bug in my code caused by loosing the user attributes I had > in a table if I added columns. As I say, it was my code's fault and it's > easy to correct, but I suggest that some reference should be made in the > add-column.py example. For example after: > > # Create a new table with the new description > table2 = fileh.createTable(group, 'table2', descr2, "A table", Filters(1)) > > add: > > table.attrs._f_copy(table2) # This is only needed if you have created > attributes in the original table
Good point. I've added this to the add-column.py example. Thanks! -- Francesc Alted ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Pytables-users mailing list Pytables-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytables-users