summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fb8f8c6)
raw | patch | inline | side by side (parent: fb8f8c6)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sun, 28 Oct 2001 22:51:38 +0000 (22:51 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sun, 28 Oct 2001 22:51:38 +0000 (22:51 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@343 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/htmltemplate.py | patch | blob | history | |
test/test_init.py | patch | blob | history |
index 5610fe1ed1fc6884dddad9c0fe1c8b01fc0621d1..6f77a9e38104339be24a8d37fd250723f7d4ebc5 100644 (file)
--- a/roundup/htmltemplate.py
+++ b/roundup/htmltemplate.py
# 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
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 = []
#
# $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
#
diff --git a/test/test_init.py b/test/test_init.py
index e2383cb6b03186313a4f35e1be4ddb97bc33d88b..74017ba8d200f304282898ad5cb122918183ea50 100644 (file)
--- a/test/test_init.py
+++ b/test/test_init.py
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: test_init.py,v 1.6 2001-09-29 23:48:06 richard Exp $
+# $Id: test_init.py,v 1.7 2001-10-28 22:51:38 richard Exp $
import unittest, os, shutil, errno, imp, sys
try:
shutil.rmtree(self.dirname)
except OSError, error:
- if error.errno != errno.ENOENT: raise
- except WindowsError, error:
- if error.errno != 3: raise
+ if error.errno not in (errno.ENOENT, errno.ESRCH): raise
def tearDown(self):
try:
shutil.rmtree(self.dirname)
except OSError, error:
- if error.errno != errno.ENOENT: raise
- except WindowsError, error:
- if error.errno != 3: raise
+ if error.errno not in (errno.ENOENT, errno.ESRCH): raise
class ClassicTestCase(MyTestCase):
backend = 'anydbm'
#
# $Log: not supported by cvs2svn $
+# Revision 1.6 2001/09/29 23:48:06 richard
+# Bug fix for test_init on Windows.
+# More documenation!!
+#
# Revision 1.5 2001/08/29 06:23:59 richard
# Disabled the bsddb3 module entirely in the unit testing. See CHANGES for
# details.