summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.c
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-01-06 18:30:26 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2011-01-06 18:30:26 (GMT)
commit1f1613f0ccecaa8b87310caec39fc2b274205f73 (patch)
tree15000e1c1a1fdb9a35148b22e9cec54b0c2dac4c /Modules/posixmodule.c
parent4c29e1cd01f2bd4142a45ef359e045d79d444fcb (diff)
downloadcpython-1f1613f0ccecaa8b87310caec39fc2b274205f73.zip
cpython-1f1613f0ccecaa8b87310caec39fc2b274205f73.tar.gz
cpython-1f1613f0ccecaa8b87310caec39fc2b274205f73.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/posixmodule.c')
-rw-r--r--Modules/posixmodule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index bcc1219..8066d45 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -2843,6 +2843,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;