commit 2989b4f608c029523944fa3697c302f56547b642 Author: Harry Bock hbock@ele.uri.edu Date: Sat Sep 18 21:14:50 2010 -0400
Fix bug in torbel.query gzip import support.
Missing a negative sign in the index. --- query.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/query.py b/query.py index f1d0046..69e9ec9 100644 --- a/query.py +++ b/query.py @@ -265,7 +265,7 @@ class ExitList: gzipped. """ if filename.endswith(".gz"): infile = gzip.open(filename, "rb") - filename = filename[:3] + filename = filename[:-3] else: infile = open(filename, "rb")
tor-commits@lists.torproject.org