[pypy-commit] pypy follow_symlinks: fix an error message
rlamy
pypy.commits at gmail.com
Wed Mar 23 15:55:38 EDT 2016
Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: follow_symlinks
Changeset: r83305:600c526320a0
Date: 2016-03-23 19:54 +0000
http://bitbucket.org/pypy/pypy/changeset/600c526320a0/
Log: fix an error message
diff --git a/pypy/module/posix/interp_posix.py b/pypy/module/posix/interp_posix.py
--- a/pypy/module/posix/interp_posix.py
+++ b/pypy/module/posix/interp_posix.py
@@ -1218,7 +1218,7 @@
times_w = space.fixedview(w_times)
if len(times_w) != 2:
raise oefmt(space.w_TypeError,
- "utime: 'ns' must be a tuple of two ints")
+ "utime: 'times' must be either a tuple of two ints or None")
atime_s, atime_ns = convert_seconds(space, times_w[0])
mtime_s, mtime_ns = convert_seconds(space, times_w[1])
else:
More information about the pypy-commit
mailing list