projects
/
weather.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22d32da
)
Drop vestigial import of the tarfile module
author
Jeremy Stanley
<fungi@yuggoth.org>
Thu, 22 Sep 2022 13:26:39 +0000
(13:26 +0000)
committer
Jeremy Stanley
<fungi@yuggoth.org>
Thu, 22 Sep 2022 13:28:01 +0000
(13:28 +0000)
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
patch
|
blob
|
history
diff --git
a/weather.py
b/weather.py
index
d9f1931
..
61d9067
100644
(file)
--- 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, t
arfile, t
ime, 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("."):