On Fri, Aug 06, 2010 at 01:44:05PM -0600, Todd Millecam wrote:
> #!/usr/bin/env python
> from uug_elections import canidates
> 
> if canidates["A.J. O'Neal"]:
>      canidates["Todd Millecam"] = canidates["A.J. O'Neal"]
> else:
>      canidates["Todd Millecam"] = None

Don't you mean this:

from uug_elections import canidates
if "A.J. O'Neal" in candidates:
    candidates.append("Todd Millecam")


I'm going to nominate Jake Adams for Secretary, Garretty Hyde for Webmaster, 
and I'll accept the nomination in running for president. While I recognize that 
I am not a McNabb, I know the McNabb's, so that's close enough.

-- 
Jonathan Wilson
--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list

Reply via email to