Roundup Tracker - Issues


Author rouilj
Recipients rouilj
Date 2021-09-06.03:33:16
Message-id <>
When running tracker with python -W default I get a lot of errors like:

   ResourceWarning: unclosed file <_io.TextIOWrapper name='.../demo/html/issue.process.html'
      mode='r' encoding='UTF-8'>
Looks like's load() method is opening file for processing and not
closing. Looks like's _compile routine is doing the same. 
Also an mo file is not closed in the get_translation() function.

Fix by adding 'with open' clause for the first two and closing the file in the last case.
Date User Action Args
2021-09-06 03:33:17rouiljsetrecipients: + rouilj
2021-09-06 03:33:17rouiljsetmessageid: <>
2021-09-06 03:33:17rouiljlinkissue2551161 messages
2021-09-06 03:33:16rouiljcreate