Update ifmain and remove prints from search.py.
This commit is contained in:
parent
e26c8abcee
commit
f23f8ebc7d
1 changed files with 1 additions and 4 deletions
|
@ -1,4 +1,3 @@
|
||||||
print('importing')
|
|
||||||
import argparse
|
import argparse
|
||||||
import fnmatch
|
import fnmatch
|
||||||
import itertools
|
import itertools
|
||||||
|
@ -46,8 +45,6 @@ def search(
|
||||||
local_only=False,
|
local_only=False,
|
||||||
text=None,
|
text=None,
|
||||||
):
|
):
|
||||||
if text is None:
|
|
||||||
print('starting search')
|
|
||||||
terms = {
|
terms = {
|
||||||
'yes_all': yes_all,
|
'yes_all': yes_all,
|
||||||
'yes_any': yes_any,
|
'yes_any': yes_any,
|
||||||
|
@ -224,4 +221,4 @@ def main(argv):
|
||||||
args.func(args)
|
args.func(args)
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
main(sys.argv[1:])
|
raise SystemExit(main(sys.argv[1:]))
|
||||||
|
|
Loading…
Reference in a new issue