commit | c66ceddd7d0b1b77bed35d697ab94cfaa4d9e691 | [log] [tgz] |
---|---|---|
author | Daniel Sahlberg <dsahlberg@apache.org> | Wed May 01 09:03:30 2024 +0000 |
committer | Daniel Sahlberg <dsahlberg@apache.org> | Wed May 01 09:03:30 2024 +0000 |
tree | 311b995a121de9a2b2f78cb914f6a4d3bd6ec367 | |
parent | 2a0e61bc001ada826cb3fe6b250c863f527bed6e [diff] |
Make svn_apply_autoprops.py Python 3-compatible. * contrib/client-side/svn_apply_autoprops.py: (get_autoprop_lines): Use raw strings for regexes, and `for line in fd` instead of `for line in fd.xreadlines()`. (filter_walk): Pass directory names separately. (main): Use `open()` instead of `file()`, and `os.walk()` instead of `os.path.walk()`. git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1917446 13f79535-47bb-0310-9956-ffa450edef68