[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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

Reply to: