mooz / percol

adds flavor of interactive filtering to the traditional pipe concept of UNIX shell
3.3k stars 145 forks source link

use sys.exit instead of exit from site module #84

Closed JeffChien closed 8 years ago

JeffChien commented 9 years ago

I'm trying to build this project with pyinstaller and ran into the problem with exit() v.s sys.exit() the original code will throw NameError: name 'exit' is not defined

according to the official document https://docs.python.org/2/library/constants.html#exit

we should use sys.exit() instead

mooz commented 8 years ago

Thx!