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?
Joshua

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


_______________________________________________
Mailman-Developers mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman-21/listinfo/mailman-developers

Reply via email to