diff --git a/src/filters/rclpython b/src/filters/rclpython index b2d422a2..e1e43dc2 100755 --- a/src/filters/rclpython +++ b/src/filters/rclpython @@ -31,7 +31,7 @@ __author__ = 'J # Imports -import cgi, string, sys +import string, sys import html import io import keyword, token, tokenize diff --git a/tests/program/program.sh b/tests/program/program.sh index e60b754e..2bbf1583 100755 --- a/tests/program/program.sh +++ b/tests/program/program.sh @@ -9,6 +9,9 @@ initvariables $0 recollq '"maps image file tags to xapian tags"' recollq '"PMC = Performance Monitor Control MSR"' recollq shellscriptUUnique + # Python: query.py + recollq Xesam QueryException + ) 2> $mystderr | egrep -v '^Recoll query: ' > $mystdout diff -w ${myname}.txt $mystdout > $mydiffs 2>&1 diff --git a/tests/program/program.txt b/tests/program/program.txt index e621bf3b..4a1ebf48 100644 --- a/tests/program/program.txt +++ b/tests/program/program.txt @@ -4,3 +4,5 @@ application/x-perl [file:///home/dockes/projets/fulltext/testrecoll/program/rcli application/x-shellscript [file:///home/dockes/projets/fulltext/testrecoll/program/run_program_with_counters.sh] [run_program_with_counters.sh] 2632 bytes 1 results application/x-shellscript [file:///home/dockes/projets/fulltext/testrecoll/program/nosuffixshell] [nosuffixshell] 34 bytes +1 results +text/x-python [file:///home/dockes/projets/fulltext/testrecoll/program/query.py] [query.py] 32748 bytes