Den ons 1 maj 2024 kl 06:06 skrev Khairul Azhar Kasmiran :
> [[[
> 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_
[[[
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
> Are there any systems where Python is only installed as "python" and not as
> "python3" or is this safe?
If "python3" is missing, it should be installable via a package or can
be made available manually via a symbolic link, but I suppose this is
going to be troublesome for some so I've reverted
Den mån 29 apr. 2024 kl 14:06 skrev Khairul Azhar Kasmiran <
kaza...@gmail.com>:
> Hi everyone!
>
> As promised in [1], this patch makes svn_apply_autoprops.py Python
> 3-compatible while keeping Python 2 compatibility. Afaik, the original
> semantics are preserved 100% -- I think I did the conver
Hi everyone!
As promised in [1], this patch makes svn_apply_autoprops.py Python
3-compatible while keeping Python 2 compatibility. Afaik, the original
semantics are preserved 100% -- I think I did the conversion from
`os.path.walk()` to `os.walk()` correctly.
[1] https://lists.apache.org/thread/j
5 matches
Mail list logo