From: Jeremy Stanley Date: Thu, 22 Sep 2022 13:26:39 +0000 (+0000) Subject: Drop vestigial import of the tarfile module X-Git-Tag: 2.4.3~2 X-Git-Url: https://yuggoth.org/gitweb?a=commitdiff_plain;h=8b903a7f49f7d66b026726baf65024623208491c;p=weather.git Drop vestigial import of the tarfile module The correlate() function stopped needing tarfile a couple of years ago (version 2.4), but it was overlooked that the script continued to unnecessarily import it. Clean this up. --- diff --git a/weather.py b/weather.py index d9f1931..61d9067 100644 --- a/weather.py +++ b/weather.py @@ -1227,7 +1227,7 @@ def gecos(formatted): return tuple(coordinates) def correlate(): - import codecs, csv, datetime, hashlib, os, re, sys, tarfile, time, zipfile + import codecs, csv, datetime, hashlib, os, re, sys, time, zipfile if pyversion("3"): import configparser else: import ConfigParser as configparser for filename in os.listdir("."):