Ian Bicking wrote: > What was the actual exception object involved? The error you saw came > from the error handler, so there's some other exception being raised, > right?
It was only the SkipTemplate exception. This exception was caught in substitute_content(), where the _add_except() tried to add something to args[0] which did not exist (for the bare SkipTemplate exception). So instead of SkipTemplate being raised again, the IndexError is raised. Maybe you can add another parameter "info" to skip_template, and then you raise SkipTemplate(info). When catching the SkipTemplate exception, you can then print the info as a reason for skipping the file as you already do with should_skip_file(). -- Chris _______________________________________________ Paste-users mailing list [email protected] http://webwareforpython.org/cgi-bin/mailman/listinfo/paste-users
