From: Noel O'B. <bao...@gm...> - 2007-04-30 06:54:44
|
Maybe someone has already suggested this, but here's an idea to handle updating the "self.updateprogress". Every time an attribute is set by __setattr__, it should change the updateprogress string to the name of the attribute rather than having to do this in the subclass. Just a note: Line 197 of logfileparser: self.updateprogress(inputfile, "Unsupported information", cupdate) If inputfile and cupdate are attributes of logfileparser, then there's no need to pass them in to updateprogress. Noel |