Bug#924139: www.debian.org: migrate from python to python3

Laura Arjona Reina <[email protected]>
Newsgroups gmane.linux.debian.devel.www
Message-ID <4a13eed8-0081-a0b9-fe2d-df4573d29928__47813.2465317444$1659186392$gmane$org@debian.org>
Hello

thanks everybody for the work and sorry to get to this so late.

I think that currently our Python2 code is in these files:

Webwml repo:

./english/mirror/timestamps/archive_mirror_check.py
./english/mirror/timestamps/mirror_check.py

Cron repo:

/urlcheck/test.py
/urlcheck/urlcheck.py

I'll try to apply the patch 
[0002-Python-scripts-modify-to-use-Python3-syntax.patch] that Carsten 
provided and do some tests, and that would cover the webwml repo.

For the cron repo, I tried to pass the 2to3 tool and follow the 
instructions but had some issues and couldn't complete the migration. 
I'll do another try during this weekend and post here my results, but if 
anybody is familiarised with Python coding, any help is appreciated.

Kind regards

-- 
Laura Arjona Reina
https://wiki.debian.org/LauraArjona
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.