summaryrefslogtreecommitdiffstats
path: root/Lib/ctypes/macholib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/ctypes/macholib')
-rw-r--r--Lib/ctypes/macholib/dyld.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/ctypes/macholib/dyld.py b/Lib/ctypes/macholib/dyld.py
index c158e67..9d86b05 100644
--- a/Lib/ctypes/macholib/dyld.py
+++ b/Lib/ctypes/macholib/dyld.py
@@ -149,6 +149,8 @@ def framework_find(fn, executable_path=None, env=None):
return dyld_find(fn, executable_path=executable_path, env=env)
except ValueError:
raise error
+ finally:
+ error = None
def test_dyld_find():
env = {}