Author: sebb
Date: Fri Jan 24 17:19:14 2025
New Revision: 1923352

URL: http://svn.apache.org/viewvc?rev=1923352&view=rev
Log:
Tidy imports

Modified:
    comdev/reporter.apache.org/trunk/scripts/bugzillastats.py
    comdev/reporter.apache.org/trunk/scripts/parsepmcs.py
    comdev/reporter.apache.org/trunk/scripts/pmcdates.py
    comdev/reporter.apache.org/trunk/scripts/readchecker.py
    comdev/reporter.apache.org/trunk/scripts/readjira.py
    comdev/reporter.apache.org/trunk/scripts/reportingcycles.py

Modified: comdev/reporter.apache.org/trunk/scripts/bugzillastats.py
URL: 
http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/scripts/bugzillastats.py?rev=1923352&r1=1923351&r2=1923352&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/scripts/bugzillastats.py (original)
+++ comdev/reporter.apache.org/trunk/scripts/bugzillastats.py Fri Jan 24 
17:19:14 2025
@@ -13,8 +13,7 @@ if sys.hexversion < 0x030000F0:
     Output:
     ../data/bugzillastats.json
 """
-import errtee
-import re
+import errtee  # this is used, even though it is not referenced
 from urlutils import URLopen
 import json
 

Modified: comdev/reporter.apache.org/trunk/scripts/parsepmcs.py
URL: 
http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/scripts/parsepmcs.py?rev=1923352&r1=1923351&r2=1923352&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/scripts/parsepmcs.py (original)
+++ comdev/reporter.apache.org/trunk/scripts/parsepmcs.py Fri Jan 24 17:19:14 
2025
@@ -29,11 +29,10 @@ if sys.hexversion < 0x030000F0:
     done between normal updates.
     
 """
-import errtee
+import errtee  # this is used, even though it is not referenced
 from urlutils import UrlCache
 import json
 import time
-import re
 
 uc = UrlCache(interval=0)
 

Modified: comdev/reporter.apache.org/trunk/scripts/pmcdates.py
URL: 
http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/scripts/pmcdates.py?rev=1923352&r1=1923351&r2=1923352&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/scripts/pmcdates.py (original)
+++ comdev/reporter.apache.org/trunk/scripts/pmcdates.py Fri Jan 24 17:19:14 
2025
@@ -1,5 +1,4 @@
-import errtee
-import sys
+import errtee  # this is used, even though it is not referenced
 import committee_info
 import json
 import time

Modified: comdev/reporter.apache.org/trunk/scripts/readchecker.py
URL: 
http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/scripts/readchecker.py?rev=1923352&r1=1923351&r2=1923352&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/scripts/readchecker.py (original)
+++ comdev/reporter.apache.org/trunk/scripts/readchecker.py Fri Jan 24 17:19:14 
2025
@@ -9,16 +9,16 @@
    to keep the files updated
 """
 
-import errtee
-import re, os, json, base64, time
+import errtee # this is used, even though it is not referenced
+import os, json
 try:
     from urllib.request import urlopen, Request
     py3 = True
 except:
     from urllib2 import urlopen,Request
     py3 = False
-from os import listdir
-from os.path import isfile, join, dirname, abspath
+
+from os.path import dirname, abspath
 from inspect import getsourcefile
 
 MYHOME = dirname(dirname(abspath(getsourcefile(lambda:0)))) # automatically 
work out home location so can run the code anywhere

Modified: comdev/reporter.apache.org/trunk/scripts/readjira.py
URL: 
http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/scripts/readjira.py?rev=1923352&r1=1923351&r2=1923352&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/scripts/readjira.py (original)
+++ comdev/reporter.apache.org/trunk/scripts/readjira.py Fri Jan 24 17:19:14 
2025
@@ -14,8 +14,8 @@
    It is assumed that the job is run as frequently as necessary to keep the 
files updated
 """
 
-import errtee
-import re, os, json, base64, time
+import errtee # this is used, even though it is not referenced
+import os, json, base64, time
 try:
     from urllib.request import urlopen, Request
     from urllib.error import HTTPError

Modified: comdev/reporter.apache.org/trunk/scripts/reportingcycles.py
URL: 
http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/scripts/reportingcycles.py?rev=1923352&r1=1923351&r2=1923352&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/scripts/reportingcycles.py (original)
+++ comdev/reporter.apache.org/trunk/scripts/reportingcycles.py Fri Jan 24 
17:19:14 2025
@@ -1,5 +1,4 @@
-import errtee
-import sys
+import errtee # this is used, even though it is not referenced
 import committee_info
 import json
 


Reply via email to