l.140 handles the len(tokens)!=2 case, but l.152 declares that to be malformed.  
What's up with that?