Commit 466d0130 authored by Tim Peters's avatar Tim Peters

Restore CONTEXT to its original value.

parent f835a0c2
...@@ -150,7 +150,7 @@ def query(rt, query_str): ...@@ -150,7 +150,7 @@ def query(rt, query_str):
if VERBOSE: if VERBOSE:
msg = docs[docid] msg = docs[docid]
# print 3 lines of context # print 3 lines of context
CONTEXT = 5000 CONTEXT = 5
ctx = msg.text.split("\n", CONTEXT) ctx = msg.text.split("\n", CONTEXT)
del ctx[-1] del ctx[-1]
print "-" * 60 print "-" * 60
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment