author | Pierre-Yves David <pierre-yves.david@octobus.net> |
Wed, 18 Mar 2020 21:27:45 +0100 | |
branch | stable |
changeset 44559 | bc9a9016467d |
parent 44500 | 864e9534d3d4 |
child 44577 | f8427841c8fc |
child 44580 | 3122058df7a5 |
--- 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: