From 8b903a7f49f7d66b026726baf65024623208491c Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Thu, 22 Sep 2022 13:26:39 +0000 Subject: [PATCH] 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. --- weather.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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("."): -- 2.11.0