Skip to content

Commit 8a5adb1

Browse files
author
Richard Jones
committed
Hrm - had IOError instead of OSError. Not sure why there's two. Ho hum.
1 parent bb7476b commit 8a5adb1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

roundup/templatebuilder.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Id: templatebuilder.py,v 1.6 2001-07-29 07:01:39 richard Exp $
1+
# $Id: templatebuilder.py,v 1.7 2001-07-30 00:06:52 richard Exp $
22
import errno
33

44
preamble = """
@@ -38,7 +38,7 @@ def installHtmlBase(template, installDir):
3838
installDir = os.path.join(installDir, 'html')
3939
try:
4040
os.makedirs(installDir)
41-
except IOError, error:
41+
except OSError, error:
4242
if error.errno != errno.EEXIST: raise
4343

4444
# print "installing from", htmlbase.__file__, "into", installDir
@@ -65,6 +65,9 @@ def installHtmlBase(template, installDir):
6565

6666
#
6767
# $Log: not supported by cvs2svn $
68+
# Revision 1.6 2001/07/29 07:01:39 richard
69+
# Added vim command to all source so that we don't get no steenkin' tabs :)
70+
#
6871
#
6972
#
7073
# vim: set filetype=python ts=4 sw=4 et si

0 commit comments

Comments
 (0)