tests/readlink.py
changeset 25660 328739ea70c3
parent 10282 08a0f04b56bd
child 29175 7bcfb9090c86
--- a/tests/readlink.py	Tue Jun 23 22:38:21 2015 -0700
+++ b/tests/readlink.py	Tue Jun 23 22:20:08 2015 -0700
@@ -5,7 +5,7 @@
 for f in sys.argv[1:]:
     try:
         print f, '->', os.readlink(f)
-    except OSError, err:
+    except OSError as err:
         if err.errno != errno.EINVAL:
             raise
         print f, 'not a symlink'