[silva-dev] can't get Silva to work from CVS
Clemens Robbenhaar
robbenhaar at espresto.com
Tue Aug 12 12:09:22 CEST 2003
Hi Guido,
> Clemens Robbenhaar wrote:
>
> >RCS file: /cvs/infrae/FileSystemSite/FSPageTemplate.py,v
> >retrieving revision 1.2
> >diff -w -u -r1.2 FSPageTemplate.py
> >--- FSPageTemplate.py 10 Feb 2003 14:50:53 -0000 1.2
> >+++ FSPageTemplate.py 12 Aug 2003 09:48:08 -0000
> >@@ -141,6 +141,9 @@
> > except RuntimeError:
> > if Globals.DevelopmentMode:
> > err = FSPageTemplate.inheritedAttribute( 'pt_errors' )( self )
> >+ if err is None:
> >+ # Runtime error is no copmile error: reraise
> >+ raise
> > err_type = err[0]
> > err_msg = '<pre>%s</pre>' % replace( err[1], "\'", "'" )
> > msg = 'FS Page Template %s has errors: %s.<br>%s' % (
> >
> >
> This is pretty useful! I thought the problem was with 2.6.1! Is this
> checked into CVS yet?
... no, it isn't yet, because I did not really understand what is going
on there at all; its just a small hack for me now.
If it is considered to be ok, I could check this in, of course.
cheers,
clemens
More information about the silva-dev
mailing list