Mercurial > p > roundup > code
diff roundup/htmltemplate.py @ 332:1fe356fc3d3e
Fixed ENOENT/WindowsError thing, thanks Juergen Hermann
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Sun, 28 Oct 2001 22:51:38 +0000 |
| parents | ee8882029150 |
| children | 9311fa91f478 |
line wrap: on
line diff
--- a/roundup/htmltemplate.py Sat Oct 27 00:22:35 2001 +0000 +++ b/roundup/htmltemplate.py Sun Oct 28 22:51:38 2001 +0000 @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: htmltemplate.py,v 1.35 2001-10-24 00:04:41 richard Exp $ +# $Id: htmltemplate.py,v 1.36 2001-10-28 22:51:38 richard Exp $ import os, re, StringIO, urllib, cgi, errno @@ -483,7 +483,7 @@ self.classname+'.filter')).read() all_filters = self.col_re.findall(filter_template) except IOError, error: - if error.errno != errno.ENOENT: raise + if error.errno not in (errno.ENOENT, errno.ESRCH): raise filter_template = None all_filters = [] @@ -827,6 +827,9 @@ # # $Log: not supported by cvs2svn $ +# Revision 1.35 2001/10/24 00:04:41 richard +# Removed the "infinite authentication loop", thanks Roch'e +# # Revision 1.34 2001/10/23 22:56:36 richard # Bugfix in filter "widget" placement, thanks Roch'e #
