redoing libgmail interface to "smtplib" blah?

Dave Angel davea at ieee.org
Mon Aug 17 00:27:47 CEST 2009


Dennis Lee Bieber wrote:
> On Sat, 15 Aug 2009 23:14:39 -0600, John Haggerty <bouncyinc at gmail.com>
> declaimed the following in gmane.comp.python.general:
>
>   
>> I did detect one problem thus far
>>
>>  File "test.py", line 152
>>     if len(args) == 1 and args[0] = "-c":
>>
>>     
> 	Should have been fine, unless my memory of sys.argv contents was
> wrong (as I recall, sys.argv, if it behaves like other languages, would
>   
> <snip>
You missed the actual problem:   there's a single '=' in the second part 
of the if expression.  Should be "=="

DaveA



More information about the Python-list mailing list