[Mailman-Developers] Checking if a varible is set inside the MailList class

Joshua Eichen joshuae@bitmine.net
Mon, 23 Sep 2002 09:43:09 -0700

I'm trying to figure out if a varibe is already set inside the mailman class 
and if not, set it.

The cleanest thing I've come up with is 
self.var_name = getattr(self, var_name, default).

Is there a more elegent solution?

Bury my heart at Betrand Russellstraat.
keyserver: seattle.keyserver.net
fingerprint: 363E D1F4 8EC0 DDE3 5DC1  056F E8ED 5163 EE1B 2333