Author: Ronan Lamy <[email protected]>
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:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to