From ac05edd14be423c5d22478c5565f02127a02593e Mon Sep 17 00:00:00 2001 From: Mike McGrath Date: Sat, 15 Mar 2008 09:31:48 -0500 Subject: [PATCH] Bad logic on my part --- fas/fas/cla.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fas/fas/cla.py b/fas/fas/cla.py index 746a160..c6aa636 100644 --- a/fas/fas/cla.py +++ b/fas/fas/cla.py @@ -24,7 +24,7 @@ class CLA(controllers.Controller): '''Display the CLAs (and accept/do not accept buttons)''' username = turbogears.identity.current.user_name person = People.by_username(username) - if not person.telephone and not person.postal_address: + if not person.telephone or not person.postal_address: turbogears.flash('Postal Address and telephone number are required to complete the cla, please fill them out') turbogears.redirect('/user/edit/%s' % username) cla = CLADone(person)