Hi Seb,

I get a Python traceback when validating a library. It looks like an 
error in the script. Here the output:

> Traceback (most recent call last):
>   File "\jallib\tools\jallib.py", line 952, in <module>
>     callme(action_args)
>   File "\jallib\tools\jallib.py", line 426, in do_validate
>     validate(filename)
>   File "\jallib\tools\jallib.py", line 399, in validate
>     validate_header(content)
>   File "\jallib\tools\jallib.py", line 315, in validate_header
>     validate_field(header,**field_dict)
>   File "\jallib\tools\jallib.py", line 284, in validate_field
>     c = multi_line_content(i,l,data)
>   File "\jallib\tools\jallib.py", line 274, in multi_line_content
>     errors.append("%d: cannot find end of field content %s" % (i,field))
> UnboundLocalError: local variable 'i' referenced before assignment

Is this indeed an error in the script or in the include file?

Note: I had to make some changes and then I remembered that validate 
comes before commit!

Regards, Rob.


-- 
Rob Hamerling, Vianen, NL (http://www.robh.nl/)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to