contrib/byteify-strings.py
branchstable
changeset 44559 bc9a9016467d
parent 43407 09234eeae206
child 45942 89a2afe31e82
--- a/contrib/byteify-strings.py	Thu Mar 12 15:23:47 2020 +0100
+++ b/contrib/byteify-strings.py	Wed Mar 18 21:27:45 2020 +0100
@@ -328,6 +328,7 @@
         'allow-attr-methods': args.allow_attr_methods,
     }
     for fname in args.files:
+        fname = os.path.realpath(fname)
         if args.inplace:
             with editinplace(fname) as fout:
                 with open(fname, 'rb') as fin: