From 2dee71ff4bbd82106ab27512d834ac0a5a352018 Mon Sep 17 00:00:00 2001 From: Takafumi Arakaki Date: Wed, 22 May 2013 23:14:32 +0200 Subject: [PATCH] Ignore jedi.NotFoundError --- sith.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sith.py b/sith.py index 6ff37ca4..e009bd32 100755 --- a/sith.py +++ b/sith.py @@ -125,6 +125,8 @@ class RandomAtaccker(MixinPrinter, BaseAttacker): for (operation, args) in self.generate_attacks(maxtries, finder): try: self.attack(operation, *args) + except jedi.NotFoundError: + pass except Exception: self.add_record(sys.exc_info(), operation, args) self.print_record()