deepsourcestatus / test-repository

Use of exit() or quit() detected PYL-R1722
Bug risk
Major
7 months ago7 months old
Consider using sys.exit()
 8            print(eval(string))
 9        except (KeyboardInterrupt, EOFError):
10            print()
11            exit()12        except (BaseException, KeyboardInterrupt) as e:
13            print(e)
14