Skip to content

Commit 91319b1

Browse files
committed
Make make.py build docs under python 3
1 parent 818cf19 commit 91319b1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/make.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,13 @@ def copytree(src, dst, symlinks=False, ignore=None):
8989
copy2(srcname, dstname)
9090
# catch the Error from the recursive copytree so that we can
9191
# continue with other files
92-
except Error, err:
92+
except Error as err:
9393
errors.extend(err.args[0])
94-
except EnvironmentError, why:
94+
except EnvironmentError as why:
9595
errors.append((srcname, dstname, str(why)))
9696
try:
9797
copystat(src, dst)
98-
except OSError, why:
98+
except OSError as why:
9999
if WindowsError is not None and isinstance(why, WindowsError):
100100
# Copying file access times may fail on Windows
101101
pass

0 commit comments

Comments
 (0)