Probably just have to revert to the old way.

Convert getattr(self, i) to "self.get_data(i)" and setattr(self, i, a) to
"self.set_data(i, a)"

James Henstridge.

--
Email: [EMAIL PROTECTED]
WWW:   http://www.daa.com.au/~james/


On Tue, 23 Feb 1999, Sam Tannous wrote:

> 
> Sorry for my stupidity, but since you've commented out the 
> setattr and getattr in this new snapshot, my code now crashed.
> 
> To make life easy, I have a loop set up where I do the following:
> 
> for i in self.router_config_entries:
>       a = getattr(self,i).get_text()
>       setattr(self.router_dict[self.current_router],i,a)
> 
> for i in self.router_config_checkbuttons:
>       a = getattr(self,i).active
>       #           print 'saving i = ',i, 'a = ',a
>       setattr(self.router_dict[self.current_router],i,a)
>  
> So what am I supposed to do now?
> 
> Sam
> 
> On Tue, Feb 23, 1999 at 11:29:47PM +0800, James Henstridge wrote:
> -> I have put up a new snapshot of pygtk and gnome-python.  The big change is
> -> that I have commented out the __[gs]etattr__ functions as they were had
> -> the potential to cause more trouble than convenience.
> -> 
> 
> To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]
> 

To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]

Reply via email to