Dennis Lee Bieber wrote:
On Sat, 15 Aug 2009 23:14:39 -0600, John Haggerty <bouncy...@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
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to