[torbel/master] Fix bug in torbel.query gzip import support.

4 Sep
2011
4 Sep
'11
7:25 a.m.
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")
5050
Age (days ago)
5050
Last active (days ago)
0 comments
1 participants
participants (1)
-
sebastian@torproject.org