summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-01-06 18:29:05 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2011-01-06 18:29:05 (GMT)
commitff17385fbde2b4fcd5d309e14904a9a27a742b8c (patch)
tree2c5737d2801a4d5dc140b7850482a378eefb59fc /Modules
parent8ad4cd90e97c1ab272c9a047a91539b13d6addf7 (diff)
downloadcpython-ff17385fbde2b4fcd5d309e14904a9a27a742b8c.zip
cpython-ff17385fbde2b4fcd5d309e14904a9a27a742b8c.tar.gz
cpython-ff17385fbde2b4fcd5d309e14904a9a27a742b8c.tar.bz2
Merged revisions 87802 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87802 | antoine.pitrou | 2011-01-06 19:25:55 +0100 (jeu., 06 janv. 2011) | 6 lines Issue #7858: Raise an error properly when os.utime() fails under Windows on an existing file. (this does not seem to be easily testable) ........
Diffstat (limited to 'Modules')
-rw-r--r--Modules/posixmodule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index cb94898..870c0ea 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -3031,6 +3031,7 @@ posix_utime(PyObject *self, PyObject *args)
something is wrong with the file, when it also
could be the time stamp that gives a problem. */
win32_error("utime", NULL);
+ goto done;
}
Py_INCREF(Py_None);
result = Py_None;