summaryrefslogtreecommitdiff
path: root/Modules/posixmodule.c
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-01-06 18:30:26 +0000
committerAntoine Pitrou <solipsis@pitrou.net>2011-01-06 18:30:26 +0000
commit6111a240c3911ee99087adb5333969c05d2b965e (patch)
treea7ded3d93d211200bc71fa5318069e0b5f36bde1 /Modules/posixmodule.c
parente987fa758af3ed449c395deeda537d34ec2ac8ab (diff)
downloadcpython-6111a240c3911ee99087adb5333969c05d2b965e.tar.gz
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 bcc1219666..8066d457d1 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;