On Jun 14, 2013, at 9:27 AM, Matt D wrote:
> im sorry i dont get it. there is too many brackets in this lin:
>
> tmplist.append(field_values["nac"])
>
> Thats where the error is but i dont see too many brackets?
Please don't top post.
The error is not on this line, but on the previous one. See below.
>
> On 06/14/2013 08:56 AM, Flynn, Stephen (L & P - IT) wrote:
>> Not enough closing brackets on the previous line... or actually too many
>> opening brackets - you don't need all those that you have there already.
>>
>>
>>> # tmplist = [time, 'nac', 'tgid', 'source', 'dest', 'algid'] is what
>> we
>>> want
>>> tmplist = []
>>> tmplist.append((str(strftime("%Y-%m-%d %H:%M:%S",
>> localtime())))
Count the number of opening and closing parentheses. I count five opening ones,
and only four closing. I believe the extraneous one is right before "str".
Take care,
Don
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor