diff roundup/admin.py @ 6491:087cae2fbcea

Handle more ResourceWarning issues. admin.py - remove unneeded close. mailer.py - close debug log file. indexer.py - close read of version file memorydb.py - close python files being compled. Similiar to instance. not sure why it's compoing things and not just letting instance do it. .travis.ymv disable all except 3.9-dev till we get a handle on errors. also increase errors to 50 from 20.
author John Rouillard <rouilj@ieee.org>
date Mon, 06 Sep 2021 16:03:31 -0400
parents a101541fc494
children f961dbbc3573
line wrap: on
line diff
--- a/roundup/admin.py	Mon Sep 06 15:14:58 2021 -0400
+++ b/roundup/admin.py	Mon Sep 06 16:03:31 2021 -0400
@@ -1367,7 +1367,6 @@
         if max_len > self.db.config.CSV_FIELD_SIZE:
             print("Warning: config csv_field_size should be at least %s" %
                   max_len, file=sys.stderr)
-            jf.close()
         return 0
 
     def do_exporttables(self, args):

Roundup Issue Tracker: http://roundup-tracker.org/